`Secure` menu item for groups renders incorrect navigation when custom roles are enabled
Issue
- Create a custom role from
/admin/application_settings/roles_and_permissions/newwithBase role = Guest&Admin compliance frameworkpermission 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 centerin the navigation menu but you also seeSecurity dashboardandVulnerability reportwhich you shouldn't. - When you click on them, both of them result in a 404. Hence they are getting incorrectly displayed on the navigation menu.
Edited by Hinam Mehra
