← Back to team overview

mahara-contributors team mailing list archive

[Bug 1740329] Re: Bulk select on page "Suspended and expired users" in the admin area

 

Environment to be tested: Master
Browser to be tested: Any browser


Precondition: 

1. A user with 'Site admin' access exists.
2. Normal users ‘User one’, ‘User two’,‘User three’, ‘User four’, ‘User five’ & ‘User six’  exist and all these users are suspended users.
3. Normal users ‘User seven’, ‘User eight’, ‘User nine’, ‘User ten’, ‘User eleven’ & ‘User twelve' exist and all these users are expired users.

Note: All the user accounts are created via a ‘CSV’ file.

Steps to reproduce:

1. Log in as ‘Site admin’.
2. Navigate to Administration menu > Users > Suspended and expired users.
3. Select the ‘Expired users’ from the ‘Show’ drop-down menu.
4. Click the ‘All’ button.

Expected result: All the expired users are selected.

5. Click the ‘None’ button.

Expected result: Nobody is selected.

6. Select the users ‘User seven’, ‘User eight’ & ‘User nine’.
7. Click the ‘Delete users’ button.

Expected result: A pop-up with a message ‘Are you sure you want to
delete the selected users?’ is displayed.

8. Click the ‘Yes’ button.

Expected result: All the selected expired users are deleted.

9. Select the ‘Expired users’ from the ‘Show’ drop-down menu.

Expected result: You only see ‘User ten’, ‘User eleven’ & ‘User twelve'.

10. Click the ‘All’ button.

Expected result: All the remaining expired users are selected.

11. Click the ‘Delete users’ button.

Expected result: A pop-up with a message ‘Are you sure you want to
delete the selected users?’ is displayed.

12. Click the ‘Yes’ button.

Expected result: All the selected expired users are deleted.

13. Select the ‘Expired users’ from the ‘Show’ drop-down menu.

Expected result: There should not be any more ‘Expired users’ in the
list.

14. Select the ‘Suspended users’ from the ‘Show’ drop-down menu.
15. Click the ‘All’ button.

Expected result: All the suspended users are selected.

16. Click the ‘Unsuspend users’ button.

Expected result: All the suspended users are not suspended any more.

17. Select the ‘Suspended users’ from the ‘Show’ drop-down menu.

Expected result: There should not be any more ‘Suspended users’ in the
list.

18. Navigate to Administration menu > Users > User search

Expected result:

1.‘User seven’, ‘User eight’, ‘User nine’, ‘User ten’, ‘User eleven’ & ‘User twelve' are not visible as these users were deleted.
2. ‘User one’, ‘User two’,‘User three’, ‘User four’, ‘User five’ & ‘User six’ exist on the User search page.

19. Click on the ‘User one’ username.

Expected result: Account settings page is displayed without a suspension
message.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1740329

Title:
  Bulk select on page "Suspended and expired users" in the admin area

Status in Mahara:
  In Progress

Bug description:
  On /admin/users/suspended.php

  When you have a large number of people in that list, you have to
  select them all individually to delete or reactivate. It would be good
  to have a "Select all / None" option like on the "User search".

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1740329/+subscriptions


References