...
- Create a new role
- Take a note of the name of the role
- Go to the Users tab
- Create a new user
- Assign your newly created roll to the new user by marking the role in the Roles list
- Click Save
- Go to Roles and Permission tab
- Select the role you created from the list to the left
- Click the Delete button
- Click confirm in the delete box
Expected:
- An pop-up error message should tell you that this action is not allowed due to the role being assigned"(Role Name) cannot be deleted because it is associated with user accounts."
- The role should still be in the form as well as in the list to the left
...