Display a list of permission for a custom role
What does this MR do and why?
In the member and project member page, when a member is associated to a custom role show, below the role dropdown or badge, a list of custom permissions.
EE: true
Changelog: changed
Screenshots or screen recordings
Screen_Recording_2023-11-13_at_13.04.36
How to set up and validate locally
To create and associate a custom role for a member
- Enable the SaaS simulation
- Enable the following feature flag:
echo 'Feature.enable(:custom_roles_in_members_page)' | gdk rails console
- Enable
Ultimate
tier for the group using:/admin/groups/flightjs/edit
- Create a custom role using:
/groups/flightjs/-/settings/roles_and_permissions
- Assign the custom role from previous step to a member. A list of custom permissions should be displayed below the role dropdown.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Sanz García