Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79270

Improve "Browse users" page using Report builder functionality

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • Hide
      1. Log in as admin
      2. Navigate to Users > User profile fields in site administration
      3. Create two new Text input profile fields:
        • Short name: test; Name: Test; Character limit: 200
        • Short name: another; Name: Another; Character limit: 200
      4. Navigate to Users > User policies in site administration
      5. Set Show user identity to "Email address" & "Test *"
      6. Navigate to Users > Upload users in site administration
      7. Upload 79270-users.csv and proceed through wizard
      8. Open database tool and run the following query:

        UPDATE m_user
        SET confirmed = 0
        WHERE username IN ('user2', 'user4', 'user7');
        

      9. Go to Site administration > Users > Browse list of users
      10. Confirm that report looks correct, shows all users and no errors are shown on screen
      11. Confirm the "Test" custom profile field is shown in the report
      12. Press the 'Add a new user' and confirm that you can create a user.
      13. Go back to the report and sort columns by clicking on the column header and confirm everything works correctly
      14. Click the 'Edit' action on any user row. Confirm that you can edit the user details.
      15. Go back to the report and click on the 'Suspend user account' action on any user row. Confirm that the user row now has been dimmed and that a 'Suspended' badge is shown next to the user name.
      16. Go to the same user row and click on 'Activate user account' action. Confirm that the row is not dimmed anymore and the 'Suspended' badge is not shown anymore.
      17. Find the user that is not confirmed yet. Confirm that the user has a red 'Confirmation pending' badge next to its name.
      18. Click on 'Resend email' action for this user and confirm that you get a notification.
      19. Press 'Confirm' action on this user row and confirm that the red badge has been removed from the its report row.
      20. Click the 'Delete' action on a user row (not admin) and confirm you are able to delete the user.
      21. Open the Filters and use some of the filters.
      22. Confirm you can also apply filters for the user profile fields previously created.

       

      Testing scenario: Locked account

      1. Login as admin.
      2. Go to Site administration > Site security settings
      3. Set "Account lockout threshold" to 3.
      4. Try to log in 4 times with any existing user (but admin) using the wrong password (the last time you should get the message "Your account is locked. An unlock link has been sent via email.").
      5. Go to Site administration > Users > Browse list of users
      6. Confirm the option "Unlock account" is displayed in the actions menu for the user you tried to login with the wrong password.
      7. Unlock the account for this user.
      8. Confirm this option ("Unlock account") doesn't appear anymore for this user.
      Show
      Log in as admin Navigate to Users > User profile fields in site administration Create two new Text input profile fields: Short name: test; Name: Test; Character limit: 200 Short name: another; Name: Another; Character limit: 200 Navigate to Users > User policies in site administration Set Show user identity to "Email address" & "Test *" Navigate to Users > Upload users in site administration Upload 79270-users.csv and proceed through wizard Open database tool and run the following query: UPDATE m_user SET confirmed = 0 WHERE username IN ('user2', 'user4', 'user7'); Go to Site administration > Users > Browse list of users Confirm that report looks correct, shows all users and no errors are shown on screen Confirm the "Test" custom profile field is shown in the report Press the 'Add a new user' and confirm that you can create a user. Go back to the report and sort columns by clicking on the column header and confirm everything works correctly Click the 'Edit' action on any user row. Confirm that you can edit the user details. Go back to the report and click on the 'Suspend user account' action on any user row. Confirm that the user row now has been dimmed and that a 'Suspended' badge is shown next to the user name. Go to the same user row and click on 'Activate user account' action. Confirm that the row is not dimmed anymore and the 'Suspended' badge is not shown anymore. Find the user that is not confirmed yet. Confirm that the user has a red 'Confirmation pending' badge next to its name. Click on 'Resend email' action for this user and confirm that you get a notification. Press 'Confirm' action on this user row and confirm that the red badge has been removed from the its report row. Click the 'Delete' action on a user row (not admin) and confirm you are able to delete the user. Open the Filters and use some of the filters. Confirm you can also apply filters for the user profile fields previously created.   Testing scenario: Locked account Login as admin. Go to Site administration > Site security settings Set "Account lockout threshold" to 3. Try to log in 4 times with any existing user (but admin) using the wrong password (the last time you should get the message "Your account is locked. An unlock link has been sent via email."). Go to Site administration > Users > Browse list of users Confirm the option "Unlock account" is displayed in the actions menu for the user you tried to login with the wrong password. Unlock the account for this user. Confirm this option ("Unlock account") doesn't appear anymore for this user.
    • WP Sprint 2023-I4.3, WP Sprint 2023-I4.2 (Espresso)

      The page at http://moodle.internal/master/admin/user.php (accessed via Users > Accounts > Browse list of users from site administration):

      All those filters should exist already, if not then create them so other reports can benefit

            davidcarrillo David Carrillo
            pholden Paul Holden
            Paul Holden Paul Holden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 3 hours, 52 minutes
                4d 3h 52m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.