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

"Back to the list of all roles" link in Assign system roles page doesn't work

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      System context
      1. Login as an admin
      2. Go to "Site administration / Users / Permissions / Assign system roles"
      3. Click on the "Manager" role.
      4. Click "Back to the list of all roles"
        • Confirm that you are redirected to the page with the list of roles.
      User context
      1. Go to "Site administration / Users / Permissions / Define roles"
      2. Create a Parent role
      3. Go to any user's profile page.
      4. Click "Preferences"
      5. Under "Roles", click "Assign roles relative to this user"
      6. Click on the "Parent role"
      7. Click "Back to the list of all roles"
        • Confirm that you are redirected to the page with the list of roles.
      Course category context
      1. Go to "Site administration / Courses / Manage courses and categories"
      2. Click the cog icon in the "Miscellaneous" category.
      3. Click "Assign roles"
      4. Click on the Manager role.
      5. Click "Back to the list of all roles"
        • Confirm that you are redirected to the page with the list of roles.
      Course context
      1. Create a course and go to the course page.
      2. Click the cog menu and click "More..."
      3. On the "Course administration" page, click on the "Users" tab
      4. Click "Other users"
      5. On the "Other users" page, click "Assign roles"
      6. Click on any role (e.g. Manager)
      7. Click "Back to the list of all roles"
        • Confirm that you are redirected to the page with the list of roles.
      Module context
      1. In the course you created, add an assignment.
      2. Go to the assignment page.
      3. Click the cog menu.
      4. Click "Locally assigned roles"
      5. Click "Teacher"
      6. Click "Back to the list of all roles"
        • Confirm that you are redirected to the page with the list of roles.
      Show
      System context Login as an admin Go to "Site administration / Users / Permissions / Assign system roles" Click on the "Manager" role. Click "Back to the list of all roles" Confirm that you are redirected to the page with the list of roles. User context Go to " Site administration / Users / Permissions / Define roles " Create a Parent role Go to any user's profile page. Click " Preferences " Under " Roles ", click " Assign roles relative to this user " Click on the " Parent role " Click "Back to the list of all roles" Confirm that you are redirected to the page with the list of roles. Course category context Go to "Site administration / Courses / Manage courses and categories" Click the cog icon in the "Miscellaneous" category. Click " Assign roles " Click on the Manager role. Click "Back to the list of all roles" Confirm that you are redirected to the page with the list of roles. Course context Create a course and go to the course page. Click the cog menu and click " More... " On the " Course administration " page, click on the " Users " tab Click " Other users " On the " Other users " page, click " Assign roles " Click on any role (e.g. Manager) Click "Back to the list of all roles" Confirm that you are redirected to the page with the list of roles. Module context In the course you created, add an assignment. Go to the assignment page. Click the cog menu. Click " Locally assigned roles " Click " Teacher " Click "Back to the list of all roles" Confirm that you are redirected to the page with the list of roles.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-61462-master

      Description

      To reproduce:

      1. Go to "Site administration / Users / Permissions / Assign system roles"
      2. Click on the "Manager" role.
      3. Click "Back to the list of all roles"
        • Expected: You should be redirected to the page with the list of roles.
        • Actual: The same page simply reloads.

        Attachments

          Activity

            People

            • Assignee:
              jpataleta Jun Pataleta
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              David Mudrák (@mudrd8mz)
              Integrator:
              Andrew Nicols
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Mar/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h