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

Bad links in Capability overview report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.6.1
    • Roles / Access
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-42100_master
    • 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.
    • 2
    • 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

              markn Mark Nelson
              simoncoggins Simon Coggins
              Rajesh Taneja Rajesh Taneja
              Damyon Wiese Damyon Wiese
              David Monllaó David Monllaó
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14