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

Error when accessing Site pages > Participants

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5, 3.1.1, 3.2
    • Fix Version/s: 3.0.6, 3.1.2
    • Component/s: Navigation
    • Labels:

      Description

      We experienced this on moodle.org:

      1. Log in to moodle.org as an ordinary user
      2. Go to your dashboard or profile page and expand Site pages then click the link Participants i.e. https://moodle.org/user/index.php?id=1
      3. Observe error 'Sorry, but you do not currently have permissions to do that (View participants)'

      Expected result:
      Participants link is not shown to users who do not have the appropriate permission

      To reproduce this on any aite, you just need to set "Default frontpage role" to "Student" (like we have on moodle.org) rather than "Authenticated user of front page" (like we have on all other sites where we can't see it happening).
      The reason for this misbehaviour is a bug in lib/navigationlib.php

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Sep/16

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h