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

A non-editing teacher cannot access the logs on the front page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 2.3.7, 2.4.4, 2.5, 2.6.3, 2.7
    • None
    • Reports
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE

    Description

      Debug info: 
       Error code: accessdenied
      Stack trace:
       line 476 of /lib/setuplib.php: moodle_exception thrown
       line 6295 of /lib/adminlib.php: call to print_error()
       line 198 of /report/log/index.php: call to admin_externalpage_setup()
      

      • Give non-editing teacher role to a user on the front page
      • Login with that user
      • Navigate to 'Adminsitration > Front page settings > Reports > Logs'

      Actual:

      • Exception is raised

      Excepted

      • You can either view the logs or not see the link in navigation

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fred Frédéric Massart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: