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
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- In rails console enable the feature flag.
Feature.enable(:custom_ability_manage_protected_tags)
- Visit the Roles and permissions page -> http://gdk.test:3000/admin/application_settings/roles_and_permissions
- Ensure you are able to see a new permission for manage protected tags.
Edited by Diane Russel