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

Only show profile roles to students

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4
    • 3.4
    • User management
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59801-master
    • Hide

      Using default roles, create a new course.

      Assign 3 users as student, 2 as teacher and 2 as manager.

      Login as the manager, verify you can filter by "Manager, Teacher, Non-editing Teacher or Student" roles. 

      Verify you see the all the roles that are assigned to participants correctly.

      Login as a student.

      Verify you can only filter by Student, Teacher roles (but not Non-editing Teacher because no one has that role).

      Log in as admin

      Assign someone in the course the non-editing teacher role

      Log back in as a student

      Verify you can now filter by the non-editing teacher role

      Verify you only see the same set of roles where they are assigned to participants (you should not see the role of managers in the course). 

      Show
      Using default roles, create a new course. Assign 3 users as student, 2 as teacher and 2 as manager. Login as the manager, verify you can filter by "Manager, Teacher, Non-editing Teacher or Student" roles.  Verify you see the all the roles that are assigned to participants correctly. Login as a student. Verify you can only filter by Student, Teacher roles (but not Non-editing Teacher because no one has that role). Log in as admin Assign someone in the course the non-editing teacher role Log back in as a student Verify you can now filter by the non-editing teacher role Verify you only see the same set of roles where they are assigned to participants (you should not see the role of managers in the course). 

      In the participants page, students should only see the courseprofileroles.

      This is part of merging the participants and enrolments pages.

       

      the fix will go in user/classes/output/user_roles_editable.php when calculating the display value and editing is not allowed.

            damyon Damyon Wiese
            damyon Damyon Wiese
            Neill Magill Neill Magill
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Ryan Wyllie Ryan Wyllie
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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