flagsmith
flagsmith copied to clipboard
FE changes to add/remove User/Groups to/from Roles
Is your feature request related to a problem? Please describe. Currently, the API supports adding users and groups to roles however in the frontend we don't have a way to do it.
Describe the solution you'd like
In the management option of the top bar, when the admin goes to the members tab, we should display a roles sub-tab, When an admin edits a role, a modal is shown, and in the first tab, where the name and description of the role are shown, we need to allow the admin to add and remove users and/or groups to the role.
Additional context
Initially, the ability to add and remove users/groups will reside only on the roles sub-tab of the members tab, in the screen shown when an admin clicks on the Management top menu option
@kyle-ssg @matthewelwell
I think this is fine for now, but might get a bit cluttered for larger teams. We may need to rethink it at that point but, for the initial release, I think this is fine.
We'll also need to implement the functionality from the other side - adding roles directly to a user or a group.
The above designs show how we would add roles to users and groups
@novakzaballa @dabeeeenster I think this might need a bit more thought from a design perspective. Can you guys organise?
@dabeeeenster new designs show how we would add users to roles and manage roles in project and environment
@novakzaballa are these pushed to the PR? Can you link this issue to the PR too?
@dabeeeenster this is the PR: https://github.com/Flagsmith/flagsmith/pull/2791
This issue was closed but I believe the "show_role_management" feature should be enabled?