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

Assigned role in enrol user dialog bug

    XMLWordPrintable

    Details

    • Type: Improvement
    • 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
      7. Visit same participants page as an student
      8. Confirm only role alias are displayed in the participants table and in the filter
      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 Visit same participants page as an student Confirm only role alias are displayed in the participants table and in the filter
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-63387-fixed

      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. enrolment-methods.png
          enrolment-methods.png
          41 kB
        2. Inline Role Editing.PNG
          Inline Role Editing.PNG
          7 kB
        3. manual-enrolments-page.png
          manual-enrolments-page.png
          68 kB
        4. Moodle Enrolment Options.jpg
          Moodle Enrolment Options.jpg
          30 kB
        5. Role Renaming.PNG
          Role Renaming.PNG
          18 kB
        6. User Enrolment.PNG
          User Enrolment.PNG
          16 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 15 minutes
                5h 15m