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

Not logged in user has assign roles link on course/category.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Navigation, Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When not logged in, or logged in as a guest, there is an assign roles link in the settings block on http://qa.moodle.net/course/category.php?id=1

      When logged in as a guest, clicking the link results in the error message: Sorry, but you do not currently have permissions to do that (Assign roles to users)

      Stack trace:

      • line 1026 of /lib/accesslib.php: required_capability_exception thrown
      • line 56 of /admin/roles/assign.php: call to require_capability()

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              tsala Helen Foster
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10