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

My private files link in navigation block needs capability check

XMLWordPrintable

    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Easy

      There's a TODO in the code for navigationlib.php immediately before the outputting of the "my private files" link which confirms that a capability check is required.

      In a site where the private files repository is disabled, the link is still displayed.

      I think we need a check that the repository is enabled, and a capability check before the link is output in the nav block.

            samhemelryk Sam Hemelryk
            jenny-gray Jenny Gray (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.