Admin UI screen Create new role

Description

Admin needs to create new role from template
As an admin I need to create a new role from a template so that I can create specific roles for users as needed.

Acceptance Criteria:

  1. When admin clicks Administration > Roles, there is a new button called Create Role.

  2. When admin clicks Create Role button, it brings them to a new page that lists the available role templates they can use to create a role with the required permissions. The roles that should be available are Administration and Requisition. The other roles will be created in future stories. (see mockup)

  3. Admin can only select one role template (role type) to create. For example, if they cannot multi-select Requisition and Administration.

  4. When admin clicks Administration button, it will bring them to the modal for Administration Role. When admin clicks Requisition button, it will bring them to the modal for Requisition Role.

  5. Administration Role template matches mockup (excluding breadcrumbs)

  6. Requisition Role template matches mockup (excluding breadcrumbs)

  7. When admin clicks Save Changes, validation is made that at least one permission is selected for the new role, and at least one character exists for the Role Name and Role Description.

  8. When admin clicks Save Changes, a notification will appear saying "Role was created successfully".

  9. The new role and details are saved to the backend.

  10. When admin clicks Save Changes and the validation fails, there is an error message displayed in the field where data is missing. Admin cannot save changes until fields are updated.

  11. When admin saves changes successfully, they are redirected to the Administration > Roles page. The Roles table is updated to reflect the new role creation.

Attachments

2
100% Done
Loading...

QAlity Plus - Test Management

Checklists

Activity

Sam Im 
April 12, 2017 at 8:17 PM

Per Chongsun in the showcase today, the role template name should be changed from "Requisition" to "Supervision". Can this be done alongside this ticket?

Paulina Borowa 
April 7, 2017 at 12:01 PM

All works fine now!

Nikodem Graczewski 
April 7, 2017 at 10:07 AM

Just a simple message from the messages_en.json.

Sam Im 
April 6, 2017 at 3:28 PM

on the first screen, next to the template button there is text that explains what is in the role. What is being used for that text now?

Paulina Borowa 
April 6, 2017 at 1:15 PM

Small things only

  1. Change notification to: "Role was created successfully",

  2. Add a dot at the end of the sentence: "Select from one of the predefined role templates to create a new role by editing rights withing the role" on the Create role view

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

4d logged5h remaining

Components

Sprint

Fix versions

Priority

Time Assistant

Created March 24, 2017 at 1:10 AM
Updated August 23, 2017 at 6:50 PM
Resolved April 7, 2017 at 12:01 PM