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

Add tertiary navigation to the participants page

    XMLWordPrintable

    Details

    • Pull Master Branch:
      MDL-72875-master-v2
    • Testing Instructions:
      Hide

      Prerequisites

      1. Create a course
      2. Create a student user account

      Testing instructions

      1. Login as an admin
      2. Go to the course
      3. Click on the participants page
      4. Confirm you see a select box at the top of the page
      5. Confirm you see the following options:
        1. Enrolments
          1. Enrolled users
          2. Enrolment methods
        2. Groups
          1. Groups
          2. Groupings
          3. Overview
        3. Permission
          1. Permission
          2. Other users
          3. Check Permissions
      6. With each of the options #5
        1. Select the option in the dropdown
        2. Confirm the dropdown is still visible
        3. Confirm the option remains selected once redirected
        4. Confirm the title appears below the select box
        5. Confirm the 'Participants' tab remains highlighted
      7. Confirm you see the ‘Enrol users’ inline with the select box
      8. Confirm the button is marked as a primary button (i.e. it is blue)
      9. Confirm the title appears below the select box
      10. Click on the ‘Enrol users’
      11. Confirm the ‘Enrol users’ modal appears
      12. Search for the student user account in the search box
      13. Enrol the user as a student
      14. Confirm the user appears in the participants table
      15. Select ‘Other users’ from the dropdown list
      16. Click on the ‘Assign roles’ button
      17. Confirm you see a ‘Back’ button
      18. Click on the ‘Manager’ link
      19. Confirm you see a back button
      20. Click on the back button
      21. Confirm you are taken back to the previous page
      22. Confirm you still see a back button
      23. Click on the back button
      24. Confirm you are taken back to the ‘Other users’ page
      25. Go to the course
      26. Go to the ‘Announcements’ forum
      27. Click on the ‘Locally assigned roels’ option from the More menu
      28. Confirm you do not see the participants tertiary nav at the top
      29. Click on one of the roles listed
      30. Confirm you see a back button
      31. Click on the back button
      32. Confirm you are taken back to the previous page (i.e. still within the activity)
      33. Go to the ‘Site home’
      34. Add the administration block if not added.
      35. Click on the ‘Enrolled users’ link under ‘Users’ in the Admin block
      36. Confirm you see the tertiary nav
      37. Confirm you see the following options:
        1. Enrolments
          1. Enrolled users
          2. Enrolment methods
        2. Groups
          1. Groups
          2. Groupings
          3. Overview
        3. Permission
          1. Permission
          2. Assigned roles
          3. Check Permissions
      38. With each of the options above
        1. Select the option in the dropdown
        2. Confirm the dropdown is still visible
        3. Confirm the option remains selected once redirected
        4. Confirm the title appears below the select box
        5. Confirm the 'Participants' tab remains highlighted
      39. Select the ‘Assigned roles’
      40. Repeat as #18-#20

      Site admin checks

      1. Log in as admin
      2. Go to Site admin > Users > Assign system roles
      3. Confirm you do not see the dropdown from the participants page
      4. Click on the ‘Manager’ link
      5. Confirm you see a ‘Back’ button at the top of the page
      6. Click on the back button
      7. Confirm you’re taken back to the ‘Assign roles in system’ page
      8. Confirm you do not see the dropdown from the participants page
      9. Click on the ‘Users’ tab
      10. Click on the ‘Check system permissions’
      11. Confirm you do not see the dropdown from the participants page
      12. Go to Site admin > Course > Manage courses and categories
      13. For any of the categories listed, select ‘Assign roles’ from the settings cog
      14. Confirm you see a Back button
      15. Click on the back button
      16. Confirm you’re taken to the same page as #13
      17. Repeat #4-#8
      18. Create a new ‘Parent’ role as described here https://docs.moodle.org/311/en/Parent_role#Creating_a_new_role
      19. Go to Site Admin > Users > Accounts > Browser list of users
      20. Click on the student name to view the profile
      21. In the admin section, click preferences
      22. In the Roles section, click on the ‘Assign roles relative to this user’
      23. Confirm you do not see the participants tertiary nav
      24. Repeat #4-#8 with Parent role
      25. Go to Site admin > users > Permissions > Define roles > Add a new role
      26. Choose the archetype as ‘No role’
      27. Click on the continue
      28. Enter the following and save:
        1. Name: Block
        2. Context types: Block
      29. Go to the course
      30. Turn on editing
      31. Add a block if none added
      32. Click on the settings cog within the block
      33. Select the ‘Assign roles in {block_name}’ option
      34. Confirm you see a back button
      35. Click the back button
      36. Confirm you are taken back to the course
      37. Repeat #32-#33
      38. Click on the ‘Block’ role
      39. Confirm you see the back button
      40. click on the back button
      41. confirm you are taken back to the previous page
      42. Confirm you see a back button
      43. Click on the back button
      44. Confirm you are taken back to the course

      Test as student

      1. Log in as a student
      2. Go to the course
      3. Click on the participants tab
      4. Confirm you do not see the participants tertiary nav

      Classic test

      1. Repeat all on classic
        1. Secondary nav doesn’t exist on classic. Choose options within the admin block instead.
      Show
      Prerequisites Create a course Create a student user account Testing instructions Login as an admin Go to the course Click on the participants page Confirm you see a select box at the top of the page Confirm you see the following options: Enrolments Enrolled users Enrolment methods Groups Groups Groupings Overview Permission Permission Other users Check Permissions With each of the options #5 Select the option in the dropdown Confirm the dropdown is still visible Confirm the option remains selected once redirected Confirm the title appears below the select box Confirm the 'Participants' tab remains highlighted Confirm you see the ‘Enrol users’ inline with the select box Confirm the button is marked as a primary button (i.e. it is blue) Confirm the title appears below the select box Click on the ‘Enrol users’ Confirm the ‘Enrol users’ modal appears Search for the student user account in the search box Enrol the user as a student Confirm the user appears in the participants table Select ‘Other users’ from the dropdown list Click on the ‘Assign roles’ button Confirm you see a ‘Back’ button Click on the ‘Manager’ link Confirm you see a back button Click on the back button Confirm you are taken back to the previous page Confirm you still see a back button Click on the back button Confirm you are taken back to the ‘Other users’ page Go to the course Go to the ‘Announcements’ forum Click on the ‘Locally assigned roels’ option from the More menu Confirm you do not see the participants tertiary nav at the top Click on one of the roles listed Confirm you see a back button Click on the back button Confirm you are taken back to the previous page (i.e. still within the activity) Go to the ‘Site home’ Add the administration block if not added. Click on the ‘Enrolled users’ link under ‘Users’ in the Admin block Confirm you see the tertiary nav Confirm you see the following options: Enrolments Enrolled users Enrolment methods Groups Groups Groupings Overview Permission Permission Assigned roles Check Permissions With each of the options above Select the option in the dropdown Confirm the dropdown is still visible Confirm the option remains selected once redirected Confirm the title appears below the select box Confirm the 'Participants' tab remains highlighted Select the ‘Assigned roles’ Repeat as #18-#20 Site admin checks Log in as admin Go to Site admin > Users > Assign system roles Confirm you do not see the dropdown from the participants page Click on the ‘Manager’ link Confirm you see a ‘Back’ button at the top of the page Click on the back button Confirm you’re taken back to the ‘Assign roles in system’ page Confirm you do not see the dropdown from the participants page Click on the ‘Users’ tab Click on the ‘Check system permissions’ Confirm you do not see the dropdown from the participants page Go to Site admin > Course > Manage courses and categories For any of the categories listed, select ‘Assign roles’ from the settings cog Confirm you see a Back button Click on the back button Confirm you’re taken to the same page as #13 Repeat #4-#8 Create a new ‘Parent’ role as described here https://docs.moodle.org/311/en/Parent_role#Creating_a_new_role Go to Site Admin > Users > Accounts > Browser list of users Click on the student name to view the profile In the admin section, click preferences In the Roles section, click on the ‘Assign roles relative to this user’ Confirm you do not see the participants tertiary nav Repeat #4-#8 with Parent role Go to Site admin > users > Permissions > Define roles > Add a new role Choose the archetype as ‘No role’ Click on the continue Enter the following and save: Name: Block Context types: Block Go to the course Turn on editing Add a block if none added Click on the settings cog within the block Select the ‘Assign roles in {block_name}’ option Confirm you see a back button Click the back button Confirm you are taken back to the course Repeat #32-#33 Click on the ‘Block’ role Confirm you see the back button click on the back button confirm you are taken back to the previous page Confirm you see a back button Click on the back button Confirm you are taken back to the course Test as student Log in as a student Go to the course Click on the participants tab Confirm you do not see the participants tertiary nav Classic test Repeat all on classic Secondary nav doesn’t exist on classic. Choose options within the admin block instead.
    • Story Points:
      3
    • Sprint:
      Navigation push 8, Navigation push 9

      Description

      This page also needs to be updated so that users have access to removed settings related to the "users" category.

      1. We need a navigation select menu with the following elements:
        1. [Enrolments: [Enrolled users, Enrolment methods], Groups: [Groups, Groupings, Overview], Permissions: [Permissions, Check permissions, Assigned roles (Currently other users)]]
      2. On the groups page. The tabs should not be shown. We can navigate using the navigation select menu.
      3. On the participants page the enrol users button should be next to the navigation select menu and set as a primary button.
      4. On the Assigned roles page the Assign roles button should be a primary button.

      Please refer to the figma design to check that your end result matches.

      Note The navigation can be extended and items can be added to the user category. Please ensure that the solution here will also display these third party navigation nodes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterdias Peter Dias
              Reporter:
              abgreeve Adrian Greeve
              Peer reviewer:
              Mihail Geshoski Mihail Geshoski
              Integrator:
              Ilya Tregubov Ilya Tregubov
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Fix Release Date:
                13/Dec/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 45 minutes
                  1d 4h 45m