Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Nikodem Graczewski
Nikodem GraczewskiReporter
Sam Im
Sam Im(Deactivated)Labels
Story Points
3
Original estimate
1d
Time tracking
Components
Sprint
Add sprint
Fix versions
Priority
Time Assistant
Time Assistant
Created March 28, 2017 at 6:20 PM
Updated August 23, 2017 at 6:50 PM
Resolved April 7, 2017 at 11:54 AM
As an admin I need to edit roles and permissions so that I can update user's roles as needed.
Acceptance Criteria:
When admin selects Administration > Roles and views table with existing roles (https://openlmis.atlassian.net/browse/OLMIS-2188#icft=OLMIS-2188) they can click on the action "Edit" to edit the selected role.
Admin is brought to the Edit Role page, and can view the permissions associated with the role. Permissions that are associated with the role will have a checkmark, permissions that aren't will be blank.
Admin can change permissions access for the specific role by selecting or unselecting a check box with the associated permission.
Admin can change role name, or role description and these changes update the existing role id with the updated permissions. Changes are saved in the backend.
At least one permission must be selected to save changes to a role. If no permissions are selected, an error should display to select at least one permission.
When admin clicks Save Changes, a notification will appear saying "Role was updated successfully".
Admin can select Cancel so that will not save any changes, and this will bring them back to the User Roles table.
When changes are made and saved successfully, the admin is brought back to the User Roles table. The table is updated to reflect the changes (example: if a role name has been changed, the table will show the new role name).
Questions:
Should the admin user see a list of other users that will be affected with the role change? Future story