-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
[14.0][FIX][IMP] base_user_role_profile : add the missing swiching widget, add new options to further improve the usability #310
base: 14.0
Are you sure you want to change the base?
Conversation
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, tested on a demo database.
aria-label="Dropdown menu" | ||
title="Dropdown menu" |
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.
aria-label="Switch profile"
title="Switch profile"
…he missing swiching widget, add new options to further improve the usability
This PR has the |
Syncing from upstream OCA/server-backend (14.0)
As described in the USAGE.rst the
base_user_role_profile
module is supposed to allow a user to switch between 'role profiles' that are allowed to he or she, which are basically a way of adding or removing roles depending on the profile, therefore dynamically changing the user's rights.Unfortunately the switching widget allowing the user to do so was removed from the module.
This PR put it back, with some fixes, and add new options to allow a bit more flexibility in it's use.
Some tests we added too.