Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.74k stars 358 forks source link

Add a convenient permissions view for group/project/organisation admins #4269

Open khvn26 opened 2 months ago

khvn26 commented 2 months ago

Is your feature request related to a problem? Please describe.

To check a given users' permissions, one currently needs to navigate between projects and groups. This is becoming very cumbersome when a number of projects and groups increases.

Describe the solution you'd like.

  1. When clicking on a user, a view that shows all the groups that user is a member of.
  2. A consolidated view to see all permissions granted to a specific user or group across projects and environments. This should list only the granted permissions, not the projects/environments where the user/group has no permissions.

Describe alternatives you've considered

Additional context

No response

kyle-ssg commented 2 months ago
  1. When clicking on a user, a view that shows all the groups that user is a member of.

I've added this with the ability to adjust their groups, however I just need group_admin returning from the /groups endpoint for the users so we can see if they are a group admin. See https://github.com/Flagsmith/flagsmith/pull/4312

  1. A consolidated view to see all permissions granted to a specific user or group across projects and environments. This should list only the granted permissions, not the projects/environments where the user/group has no permissions.

I believe this would require API, we can only get permissions for a specific environment or project at the moment. This could be done as a separate issue perhaps since 1 just needs an added field.