Skip to content

Expose custom roles for group links

What does this MR do and why?

  • Follows from !157256 (merged)
  • In this MR, we allow invited groups to be assigned a custom role from the frontend.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screen_Recording_2024-07-17_at_12.28.53_PM

How to set up and validate locally

  1. Make you are on an Ultimate license and you have SaaS mode off.

  2. In the rails console:

# enable feature
Feature.enable(:assign_custom_roles_to_group_links)

# create a member role
member_role = MemberRole.create(base_access_level: 10, name: "Test", admin_cicd_variables: true)
  1. Navigate to any group that you are an owner of. Go to Manage > Members.
  2. Click on the Invite a group button and invite any group with the custom role you created in step 2.

Related to #443369

Edited by Hinam Mehra

Merge request reports

Loading