Difference between revisions of "Development/Functional testing/User accounts tests"
From AtoM wiki
(Created page with "{{#pagetitle: User accounts tests }} Main Page > Development > Functional testing > User accounts tests === Create === * Create ne...") |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Main Page]] > [[Development]] > [[Development/Functional testing|Functional testing]] > User accounts tests | [[Main Page]] > [[Development]] > [[Development/Functional testing|Functional testing]] > User accounts tests | ||
− | + | == Create == | |
* Create new user | * Create new user | ||
Line 9: | Line 9: | ||
* Default behaviour is to make new user Active. | * 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." | * 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" | + | * 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." |
* Will not save new user if mismatched. | * 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 | * Create matching password and confirmation and ICA-AtoM responds with "Password match: Yes" and provides a password strength indicator bar | ||
* Save user (create) | * Save user (create) | ||
− | * OR, Cancel (do not save new user) and | + | * OR, Cancel (do not save new user) and AtoM returns you to the "List users" screen |
* If saved, User can login with email/password | * If saved, User can login with email/password | ||
− | + | == Read == | |
* "List users" screen has two tabs - Show active only and Show inactive only | * "List users" screen has two tabs - Show active only and Show inactive only | ||
Line 27: | Line 27: | ||
* Non admin user can't see other user's account - "Sorry you do not have permission to access that page" | * Non admin user can't see other user's account - "Sorry you do not have permission to access that page" | ||
− | + | == Update == | |
* Edit user data | * Edit user data | ||
Line 36: | Line 36: | ||
* User can login with new email/password | * User can login with new email/password | ||
− | + | == Delete == | |
* Delete confirmation | * Delete confirmation | ||
* Delete cancel | * Delete cancel | ||
− | |||
* Once deleted, a user can't login anymore | * Once deleted, a user can't login anymore | ||
− | + | == Assign groups == | |
* Under "Access Control" Add group to user | * Under "Access Control" Add group to user | ||
− | * Add multiple groups to user | + | * Add multiple groups to user |
− | * Add duplicate group to user | + | * Add duplicate group to user - AtoM responds with highlight of duplicate and will not assign group twice (one group assigned on save) |
* Remove new group (not saved) from user | * Remove new group (not saved) from user | ||
* Remove existing group (was saved) from user by clicking "x" next to group | * Remove existing group (was saved) from user by clicking "x" next to group | ||
* Remove all groups from user | * Remove all groups from user | ||
− | + | == Assign permissions == | |
* Add permission for user | * Add permission for user | ||
Line 59: | Line 58: | ||
− | + | [[Category:Development documentation]] | |
− | |||
− | + | __NOTOC__ |
Latest revision as of 14:52, 8 May 2020
Main Page > Development > Functional testing > User accounts tests
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."
- 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 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
- Once deleted, a user can't login anymore
Assign groups
- Under "Access Control" Add group to user
- Add multiple groups to user
- Add duplicate group to user - AtoM responds with 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