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

Error when accessing Site pages > Participants

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.5, 3.1.1, 3.2
    • 3.0.6, 3.1.2
    • Navigation

    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

            mudrd8mz David Mudrák (@mudrd8mz)
            tsala Helen Foster
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/Sep/16

              Time Tracking

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