Moodle
  1. Moodle
  2. MDL-14832

Course Managers with multiple roles are shown multiple times in the course description

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.2, 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      30906

      Description

      Actual: If you assign more than one role to user where those roles are all "Course Managers" then the user is listed twice in the course description.

      Expected: Each user should only be displayed once. Only the name of the most senior role assigned to the user should be displayed.

      The admin page for this (admin/settings.php?section=coursemanager) says:

      "This setting allows you to control who appears on the course description. Users need to have at least one of these roles in a course to be shown on the course description for that course."

      This text is inconsistent with the current result as having more than one role lists you multiple times.

        Issue Links

          Activity

          Hide
          Howard Miller added a comment -

          The user is now only shown once. They will be shown in the most senior role only (ie, the one highest up the list in the roles screen).

          Show
          Howard Miller added a comment - The user is now only shown once. They will be shown in the most senior role only (ie, the one highest up the list in the roles screen).
          Hide
          Dongsheng Cai added a comment -

          Verified, thanks!

          Show
          Dongsheng Cai added a comment - Verified, thanks!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: