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

Show original role name of renamed roles when enrolling users

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_310_STABLE
    • Easy
    • Hide

      Setup

      1. Login as admin.
      2. Create a course and enrol, at least, one teacher and one student.
      3. Update course settings, under Role renaming enter an alias for Your word for 'Student' and for 'Teacher'.
      4. Go to "Site administration / Users / Accounts / Cohorts" and create one system cohort with, at least, 1 user.

      Testing scenario 1: Participants page

      1. Visit the course participants page
      2. Press the Enrol users button
      3. Confirm both role names are displayed in the Assign roles dropdown
      4. Back on the participants table, edit the roles for a user
      5. Confirm the inplace editable element displays both role names
      6. Visit same participants page as an student
      7. Confirm only role alias are displayed in the participants table and in the filter

       

      Testing scenario 2: Enrolment cohort sync

      1. Visit the course participants page
      2. Access to the Enrolment methods page
      3. Select "Cohort sync" from the "Add method" dropdown
      4. Confirm both role names are displayed in the "Assign role" dropdown

       

      Testing scenario 3: Auto-groups

      1. Visit the course participants page
      2. Access to the Groups page
      3. Click "Auto-create groups" button
      4. Confirm both role names are displayed in the "Select members with role" dropdown

       

      Testing scenario 4: Course badges

      1. Visit the course badges page
      2. Press the "Add a new badge" button
      3. Fill in the mandatory fields in the form and click "Create badge" button
      4. Access to the "Criteria" badges tab
      5. Choose "Manual issue by role" in the "Add badge criteria dropdown
      6. Confirm both role names are displayed in the "Manual issue by role" section

       

      Show
      Setup Login as admin. Create a course and enrol, at least, one teacher and one student. Update course settings, under Role renaming enter an alias for Your word for 'Student' and for 'Teacher'. Go to "Site administration / Users / Accounts / Cohorts" and create one system cohort with, at least, 1 user. Testing scenario 1: Participants page 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   Testing scenario 2: Enrolment cohort sync Visit the course participants page Access to the Enrolment methods page Select "Cohort sync" from the "Add method" dropdown Confirm both role names are displayed in the "Assign role" dropdown   Testing scenario 3: Auto-groups Visit the course participants page Access to the Groups page Click "Auto-create groups" button Confirm both role names are displayed in the "Select members with role" dropdown   Testing scenario 4: Course badges Visit the course badges page Press the "Add a new badge" button Fill in the mandatory fields in the form and click "Create badge" button Access to the "Criteria" badges tab Choose "Manual issue by role" in the "Add badge criteria dropdown Confirm both role names are displayed in the "Manual issue by role" section  

      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.

        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. MDL-63387.png
          MDL-63387.png
          105 kB
        5. Moodle Enrolment Options.jpg
          Moodle Enrolment Options.jpg
          30 kB
        6. Role Renaming.PNG
          Role Renaming.PNG
          18 kB
        7. User Enrolment.PNG
          User Enrolment.PNG
          16 kB

            pholden Paul Holden
            conradtulk Conrad Tulk
            Amaia Anabitarte Amaia Anabitarte
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 45 minutes
                1d 1h 45m

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