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

Assigned role in enrol user dialog bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.2, 3.5.5, 3.6.3
    • Fix Version/s: None
    • Component/s: Enrolments, Roles / Access
    • Labels:
    • Testing Instructions:
      Hide
      1. Update course settings, under Role renaming enter an alias for Your word for 'Student'
      2. Visit the course participants page
      3. Press the Enrol users button
      4. Confirm both role names are displayed in the Assign roles dropdown
      5. Back on the participants table, edit the roles for a user
      6. Confirm the inplace editable element displays both role names
      Show
      Update course settings, under Role renaming enter an alias for Your word for 'Student' Visit the course participants page Press the Enrol users button Confirm both role names are displayed in the Assign roles dropdown Back on the participants table, edit the roles for a user Confirm the inplace editable element displays both role names
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull Master Branch:

      Description

      If two course roles are renamed to the same name, the roles are listed in the enrol user drop downs with no context. This makes it confusing when assigning roles.

      Example:

      Teacher is renamed to 'Instructor'

      Non-editing Teacher is renamed to 'Instructor'

      When this occurs, both roles will appear in the drop downs as 'Instructor'. The original role names should appear in brackets for context. I think this was how it worked previously.

        Attachments

        1. Inline Role Editing.PNG
          Inline Role Editing.PNG
          7 kB
        2. Moodle Enrolment Options.jpg
          Moodle Enrolment Options.jpg
          30 kB
        3. Role Renaming.PNG
          Role Renaming.PNG
          18 kB
        4. User Enrolment.PNG
          User Enrolment.PNG
          16 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              conradtulk Conrad Tulk
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: