Add custom role dropdown in the member page
What does this MR do and why?
Both in group and project member pages, we add additional custom roles items in the dropdown.
EE: true
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Go to a group or project member page, for example
/groups/flightjs/-/group_members
, and play changing the role for members. Everything should work normally. - Enable
Ultimate
tier for the group using:/admin/groups/flightjs/edit
- Create a custom role using:
/groups/flightjs/-/settings/roles_and_permissions
- Enable this feature flag:
echo 'Feature.enable(:custom_roles_in_members_page)' | rails c
- Try to assign the custom role from step #3 to a member. It should work.
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