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

Bad links in Capability overview report

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Component/s: Roles / Access
    • Labels:
    • Testing Instructions:
      Hide
      1. Click Site Admin > Users > Permissions > Capability Overview
      2. Select one or more capabilities
      3. Select All roles
      4. Click "Get the overview"
      5. Click one of the role names in the table header.
      6. Make sure you go to the definition page for that role.
      Show
      Click Site Admin > Users > Permissions > Capability Overview Select one or more capabilities Select All roles Click "Get the overview" Click one of the role names in the table header. Make sure you go to the definition page for that role.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-42100_master
    • Story Points:
      2
    • Sprint:
      BACKEND Sprint 7

      Description

      Steps to reproduce

      1. Click Site Admin > Users > Permissions > Capability Overview
      2. Select one or more capabilities
      3. Select All roles
      4. Click "Get the overview"
      5. Click one of the role names in the table header.

      What should happen

      Not sure, maybe the links should go to /admin/roles/allow.php?mode=override

      What actually happens

      The link goes to admin/roles/override.php?contextid=1&roleid=1

      Which gives this error:

      Cannot override base role capabilities
       
      More information about this error
       
      Debug info: 
      Error code: cannotoverridebaserole
      Stack trace:
      line 463 of /lib/setuplib.php: moodle_exception thrown
      line 86 of /admin/roles/override.php: call to print_error()
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14