User accounts tests
From AtoM wiki
Revision as of 18:28, 4 March 2016 by Sallain (talk | contribs) (Created page with "{{#pagetitle: User accounts tests }} Main Page > Development > Functional testing > User accounts tests === Create === * Create ne...")
Main Page > Development > Functional testing > User accounts tests
Contents
Create
- Create new user
- Username and Email are required data entry fields. Attempts to save without these fields filled-in results in red validation warning "required" and record cannot be saved.
- New user does not require password and confirmation password in order to save new user record.
- Default behaviour is to make new user Active.
- To make a user inactive, deselect Active box. Save user and ICA-AtoM returns red warning "This user is inactive."
- If password is created and confirmation password does not match. ICA-AtoM generates a red validation warning: "Your password confirmation did not match you password". Issue 2349
- Will not save new user if mismatched.
- Create matching password and confirmation and ICA-AtoM responds with "Password match: Yes" and provides a password strength indicator bar
- Save user (create)
- OR, Cancel (do not save new user) and ICA-AtoM returns you to the "List users" screen
- If saved, User can login with email/password
Read
- "List users" screen has two tabs - Show active only and Show inactive only
- Active users are shown under the corresponding tab
- Inactive users are shown under the corresponding tab
- Display correct user data after creation (including groups, permissions)
- Display correct user data after edit (including groups, permissions)
- "my profile" link (upper right of screen in Caribou) shows current user's account
- "my profile" link (upper right of screen in Trillium has a "Quick links" drop-down, it is listed below) shows current user's account
- Non admin user can't see other user's account - "Sorry you do not have permission to access that page"
Update
- Edit user data
- Update/change password
- Validation: mismatched password and confirm password
- Save user (edit)
- Cancel save (-> show page)
- User can login with new email/password
Delete
- Delete confirmation
- Delete cancel
- Validation: Don't allow deleting user with linked notes (When you click on edit for a user that has a note in the system, ICA-AtoM responds with View user profile and there is no delete button. Also includes a grey warning "This user has 1 notes in the system and therefore it cannot be removed.")
- Once deleted, a user can't login anymore
Assign groups
- Under "Access Control" Add group to user
- Add multiple groups to user (See Issue 2348 for conflict with Trillium and Chrome)
- Add duplicate group to user - ICA-AtoM responds with YELLOW highlight of duplicate and will not assign group twice (one group assigned on save)
- Remove new group (not saved) from user
- Remove existing group (was saved) from user by clicking "x" next to group
- Remove all groups from user
Assign permissions
- Add permission for user
- Remove permission from user
- Remove all permissions from user
Request password reminder
TODO