-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue with when removing all assigned roles to users #636
Comments
Findings: Issue is still present. |
@singhkaranvir25 , can you please help out with the expected behaviour for this? |
@celinenilla @jannahadlaon - As per my discussion with @kneckinator, it was concluded that this issue is caused by interlinking of "Role" with "User Type" configured under "Access Rights" As soon as the last user role is deleted manually, the user type becomes null. Hence causing the screen with forbidden. Whereas when user has an expired user role, it can still login and perform the actions on the application. (Which sounds like a separate but related issue). Additional issue observed was that when configuring the roles, fields such as "Center Area" "Companies" etc does not really matter. User has kind of full access. Hence in my opinion, the expected behaviour of this ticket should be that when a user role is deleted, or expired. "User Type" value should remain intact. Which would allow user to login and have access to the available views such as dashboard. If the User Type is "Portal" or "Public", then access would look like as follows: |
@gonzalesedwin1123 , can you please have a look at the suggestion made by karan above? |
Findings: Works as expected in using runboat instance STEPS:
|
@celinenilla Can we close this ticket then? |
Yes, setting to Done, since fixed already |
After removing a role from a user, nothing is automatically selected in user type thus when that user logs back in, error message appears.
The text was updated successfully, but these errors were encountered: