Deactivating Users
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- Deactivate Users By Role
- User Definition
Scenario 1: 'Deactivate Users by Role' Form- (Deactivate All Selected User's)
Specific Setup:
- In form "User Definition", the following users have these "User Role" assignments:
- [User1] is assigned to "User Role" [TestRole1]
- [User2] is assigned to roles [TestRole1] and [TestRole2]
- [User3] is assigned to [TestRole2]
- [User4] is not assigned to any role
- [User5] is assigned to [TestRole1] and has prompt "Allow User Role Customization" set to "Yes"
- [User6] has been "Disabled" in the system. [Note: For example, a user can become disabled via the 'Change User ID' or 'User Merge' forms. 'Disabled' users are automatically "Deactivated" and that status can no longer be updated.]
Steps
- Open form "Deactivate Users By Role"
- Select prompt "Deactivate All Selected Users"
- In the "Select Role" field, select [TestRole1]
- Please Note: Upon submitting the form with this prompt selected, the following will outcomes are to be expected:
- Users assigned to the selected Role will be "Deactivated"
- Users not assigned to any Role will also be "Deactivated"
- Users not assigned to the selected Role but are assigned to any other role will be “Activated”
- Submit the form
- Validate form submits successfully and a message is displayed indicating the number of user "Deactivated" and the number of users "Activated"
- Click [OK]
- Open form "User Definition",
- For each user listed below from the setup, verify that their "Deactivated" or "Activated" status is as follows, following the form submission in step 2:
- [User1] who is assigned to the role that was selected in step 1 [TestRole1], is "Deactivated"
- [User2] who is assigned to multiple roles [TestRole1] and [TestRole2], is also "Deactivated". [Note: As long as one of roles assigned to a user is the selected role, the user is deactivated]
- [User3] who is assigned to [TestRole2] is "Active", as they are not assigned to the selected role in step1
- [User4] who is not assigned to any role is "Deactivated"
- [User5] who is assigned to [TestRole1] but has prompt "Allow User Role Customization" set to "Yes", is "Deactivated". (Note: This form treats customized users, as a user who is not assigned to any role(s))
- [User6] who is a "Disabled" user in the system
- Validate, a message indicating the user is disabled and cannot be updated, is displayed when selecting the user.
- Validate the user is "Deactivated" and the "Deactivate" checkbox is disabled, as expected
Scenario 2: 'Deactivate Users by Role' Form- (Deactivate All User's Except Selected)
Specific Setup:
- In form "User Definition", the following users have these "User Role" assignments:
- [User1] is assigned to "User Role" [TestRole1]
- [User2] is assigned to roles [TestRole1] and [TestRole2]
- [User3] is assigned to [TestRole2]
- [User4] is not assigned to any role
- [User5] is assigned to [TestRole1] and has prompt "Allow User Role Customization" set to "Yes"
- [User6] has been "Disabled" in the system. [Note: For example, a user can become disabled via the 'Change User ID' or 'User Merge' forms. 'Disabled' users are automatically "Deactivated" and that status can no longer be updated.]
Steps
- Re- open form "Deactivate User's By Role"
- Select prompt "Deactivate All Users Except Selected"
- In the "Select Role" field, select [TestRole1] again
- Please Note: Upon submitting the form with this prompt selected, the following will occur:
- Users assigned to the ‘selected’ Role will be “Activated”
- Users not assigned to the ‘selected’ Role will be “Deactivated”
- Users not a member of “any” Role will also be "Deactivated"
- Submit the form
- Validate form submits successfully and a message is displayed indicating the number of user "Deactivated" and the number of users "Activated"
- Click [OK]
- Open form "User Definition",
- For each user listed below from the setup, verify that their "Deactivated" or "Activated" status is as follows, following form submission in step 3:
- [User1] who is assigned to the role selected in step 1[TestRole1], is "Activated"
- [User2] who is assigned to multiple roles [TestRole1] and [TestRole2], is also "Activated". [Note: As long as one of roles assigned to a user is the selected role, the user is activated]
- [User3] assigned to [TestRole2] is "Deactivated", as they are not assigned to the selected role in step4
- [User4] not assigned to any role, still remains "Deactivated"
- [User5] assigned to [TestRole1] but has prompt "Allow User Role Customization" set to "Yes", is "Deactivated". (Note: This form treats customized users as a user who are not assigned to any role(s))
- [User6] who is a "Disabled" user in the system.
- Validate a message indicating the user is disabled and cannot be updated, is displayed when selecting the user.
- Validate the user is "Deactivated" and the "Deactivate" checkbox is disabled, as expected
|
Topics
• "My To Do's" widget
• NX
• User Definition
• User Role Definition
|