Skip to content

Add manage_protected_tags custom permission

What does this MR do and why?

This MR adds a new permission called manage_protected_tags for managing protected tags that can be given to custom roles.

I have added this behind a new feature flag that is not enabled so that I am able to make the front end changes for this work in a follow up MR.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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

Screenshot_2025-01-22_at_10.28.44_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the feature flag.
    Feature.enable(:custom_ability_manage_protected_tags)
  2. Visit the Roles and permissions page -> http://gdk.test:3000/admin/application_settings/roles_and_permissions
  3. Ensure you are able to see a new permission for manage protected tags.
Edited by Diane Russel

Merge request reports

Loading