-
-
Couldn't load subscription status.
- Fork 1.5k
Fix default profile assignment for user who lost all rights because no matched with authorization rules #21594
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
base: 10.0/bugfixes
Are you sure you want to change the base?
Fix default profile assignment for user who lost all rights because no matched with authorization rules #21594
Conversation
…hey no matched with authorization rules
|
This needs a test case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (waiting for tests results). You still have to revert composer.json changes
Co-authored-by: Johan Cwiklinski <[email protected]>
|
Is there a chance some users might expect the original behavior as a way to disable a user? |
It seems more logical to me to restore the default permissions to a user who no longer has specific rights. To disable them, you would simply switch the user to Active: No. |
8aa1a4e to
b27ae9f
Compare
Checklist before requesting a review
Please delete options that are not relevant.
Description
When a user has been assigned rights by the rules, if they no longer match the rules, these rights are withdrawn and the default right is not restored. They are therefore left without authorization.
Screenshots (if appropriate):