[FE] Ability to edit a role's permissions
Release notes
Problem to solve
A customer can create a new role and recently now has the ability to edit the role in the API. There is no view to edit the Role through the UI. This may be cumbersome for the user to go through the API versus quickly selecting in the UI.
Proposal
Dependent on [FE] Improvements to "Create new role" Screen -... (#393238 - closed)
The API now allows custom permissions to be edited in the API. Allow for users to edit their role permissions in the UI. This will only editing name, description, custom permissions, and not the base role.
UX
- Select "More actions" and "Edit role" from the custom role table UI
- Routes to the new "Edit role" Screen.
- Pre-populates with current data
- Breadcrumb shows "Edit role"
- Title shows "Edit role"
- The user is able to edit the "Name", "Description", and " Custom Permissions".
- The "Base Role" is not editable, but shown as a
read-only
value. - Validation should be the same as the "Create Role" view.
- Confirmation button highlights "Save Changes" instead of "Create Role"
Documentation
-
Include documentation on how to edit permissions. -
Designs
Edited by Joe Randazzo