Role Create / Update / Delete

Test A: Check that the TENANT_ADMINISTRATOR and _READER roles are displayed properly

Actions:

  1. Login with full privileges
  2. Go to Administration in the top menu navigation, then the Roles and Permissions tab

Expected:

Actions:

Expected:

Actions:

Expected:

Test 1: Create New Invalid Role - No Role Name

Actions:

  1. Login with full privileges
  2. Go to Administration in the top menu navigation, then the Roles and Permissions tab
  3. Click the + Create new button on the left

Expected:

  1. A new role form should appear
  2. All permissions should be set to None

Actions:

Expected:

Test 3: Create New Valid Role

Actions:

  1. Continue from Test 1
  2. Fill out Name
  3. Change any of the permission settings
  4. Click save

Expected:

  1. The new role should be displayed on the list
  2. A successful save message should display

Actions:

  1. Click a different role
  2. Wait for it to load
  3. Click back to the role you created

Expected:

  1. The Name, Description and Permissions should be as you created them

Test 5: Create New Invalid Role (Duplicate Role Name)

Actions:

  1. Continue from Test 3
  2. Click the + Create new button on the left
  3. Fill out the Name with the same name as an existing role
  4. Click save

Expected:

Test 9: Edit Existing Role to Invalid

Actions:

  1. Continue from Test 7
  2. Select a role that you can edit by clicking on it in the left menu
  3. Change any permissions of that role
  4. Delete the text from Name
  5. Click save

Expected:

Actions:

  1. Change the role name to be the same as an existing role
  2. Click save

Expected:

Test 11: Edit Role (Valid)

Actions:

  1. Continue from Test 9
  2. Change the value in the Name field
  3. Change the Description
  4. Change any permissions of the role
  5. Click save

Expected:

Test 13: Delete Role with Cancel/Close

Actions:

  1. Continue from Test 11
  2. Click the Delete button above the Role form

Expected:

Actions:

  1. Variation A: click Cancel
  2. Variation B: click Close symbol
  3. Variation C: hit the Escape key

Expected:

Test 15: Successfully Delete Role

Actions:

  1. Continue from Test 13 (or select a role you are comfortable deleting)
  2. Click the Delete button above the Role form
  3. In the dialog, hit delete

Expected:

Test 17: Delete Role Assigned to User

Actions:

  1. Create a new role
  2. Take a note of the name of the role
  3. Go to the Users tab
  4. Create a new user
  5. Assign your newly created roll to the new user by marking the role in the Roles list
  6. Click Save
  7. Go to Roles and Permission tab
  8. Select the role you created from the list to the left
  9. Click the Delete button

Expected:

Test 20: Spend 5 minutes trying to break something!