Add manage security policy as custom ability
What does this MR do and why?
It adds managing security policy links as a custom ability. The following actions are possible when a user has this custom ability assigned:
- changing a security project assigned to a project or a group
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
manage-security-policy-links-recording
How to set up and validate locally
- Create a custom role with
Manage security policy
permission, eg. in http://gdk.test:3000/admin/application_settings/roles_and_permissions - Assign this custom role to a user in a group
- Go to the project security policy page, eg. http://gdk.test:3000/flightjs/Flight/-/security/policies and make sure you can change a security project assigned to the project
- Do the same for the group (eg. http://gdk.test:3000/groups/flightjs/-/security/policies)
Related to #440226 (closed)
Edited by Jarka Košanová