Refactor SamlMembershipRoleSelector component
What does this MR do and why?
Extract a shareable RoleSelector
component from the SamlMembershipRoleSelector
component so it can be reused for other role selectors in the future.
In addition, use the existing logic for populating member dropdowns.
Issue: #417201 (closed)
How to set up and validate locally
- Enable Group SAML
gdk config set omniauth.group_saml.enabled true && gdk reconfigure && gdk restart rails-web
- Create a group with Ultimate license
- Go to http://localhost:3000/groups/${group_id}/-/settings/roles_and_permissions and create a custom role with
Developer
base access - Go to http://localhost:3000/groups/${group_id}/-/settings/roles_and_permissions and create a custom role
- Go to http://localhost:3000/groups/${group_id}/-/saml, fill in the required form fields and select the custom role
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 Alex Buijs