Add read compliance dashboard as a custom ability
What does this MR do and why?
- Adds
read_compliance_dashboardas a custom ability which can be configured to create a member role. - Disables the
New Frameworkbutton in the front-end if only read compliance policy is enabled and admin compliance policy isn't.
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
| Group-level | Project-level |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Ensure that SaaS mode is turned off and that you have an Ultimate license.
- Log-in as an admin, and create a custom role from
/admin/application_settings/roles_and_permissions/newwithBase role = Guest&Read compliance dashboardpermission enabled. - Navigate to any group that you are an owner of. Go to
Manage > Membersand invite any user with that member role you just created. - Log-in as that user you just invited and navigate to the group.
- You should see
Secure > Compliance center. You should also be able to access the compliance center for any sub-groups or projects under that group.
Related to #465324 (closed)
Edited by Hinam Mehra

