Skip to content

Display a list of permission for a custom role

Eduardo Sanz García requested to merge eduardosanz/list-of-permissions into master

What does this MR do and why?

In the member and project member page, when a member is associated to a custom role show, below the role dropdown or badge, a list of custom permissions.

EE: true

Changelog: changed

Screenshots or screen recordings

Screen_Recording_2023-11-13_at_13.04.36

How to set up and validate locally

To create and associate a custom role for a member

  1. Enable the SaaS simulation
  2. Enable the following feature flag: echo 'Feature.enable(:custom_roles_in_members_page)' | gdk rails console
  3. Enable Ultimate tier for the group using: /admin/groups/flightjs/edit
  4. Create a custom role using: /groups/flightjs/-/settings/roles_and_permissions
  5. Assign the custom role from previous step to a member. A list of custom permissions should be displayed below the role dropdown.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eduardo Sanz García

Merge request reports