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

Participants page shows roles at course level mixed with roles assigned at higher levels.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.4
    • 3.4
    • User management
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59830_master-v2
    • Hide
      1. Assign a user as a manager at the site level.
      2. Create a course.
      3. Assign the user as a student in the course.
      4. Visit the course.
      5. View the participants page.
      6. Check that you can see the user is a 'Student' and a 'Manager'.
      7. Click to edit this column.
      8. Confirm you can only remove the 'Student' role.
      9. Check that you can not choose the manager role from the list.
      10. Choose two more roles and save.
      11. Confirm the table updated with the new roles as well as 'Manager'.
      12. Click to edit the roles again.
      13. Confirm you can not remove the 'Manager role'.
      14. Remove the other roles.
      15. Save.
      16. Confirm he table updated and the user is just listed as a manager.
      17. Enrol another user in the course as a student.
      18. Edit their role and check you can add them as a manager.
      19. Save.
      20. Confirm the table updated.
      21. Edit their role again and confirm you can remove them as a manager.
      22. Save.
      23. Confirm the table updated.
      24. Play around a bit more and try and break it.
      Show
      Assign a user as a manager at the site level. Create a course. Assign the user as a student in the course. Visit the course. View the participants page. Check that you can see the user is a 'Student' and a 'Manager'. Click to edit this column. Confirm you can only remove the 'Student' role. Check that you can not choose the manager role from the list. Choose two more roles and save. Confirm the table updated with the new roles as well as 'Manager'. Click to edit the roles again. Confirm you can not remove the 'Manager role'. Remove the other roles. Save. Confirm he table updated and the user is just listed as a manager. Enrol another user in the course as a student. Edit their role and check you can add them as a manager. Save. Confirm the table updated. Edit their role again and confirm you can remove them as a manager. Save. Confirm the table updated. Play around a bit more and try and break it.

      When editing course roles - it should not display roles assigned at higher contexts.

      Example from Marina - I had a user with "Manager" role in the system context and I enrolled him as a "Student" in a course. It shows to me as he has both "Manager" and "Student" roles. On 3.3 I can not remove the "Manager" role but on master I can, it actually shows as if it was saved but when I reload the page the role "Manager" is displayed again. This behavior is a little different from #11 and scared me at first

            markn Mark Nelson
            damyon Damyon Wiese
            Damyon Wiese Damyon Wiese
            Jun Pataleta Jun Pataleta
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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