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

require_capability should not do an automatic require_login

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      What we need to do:

      1. Review existing scripts and make sure that every call to require_capability is preceeded by an appropriate call to require_login. (Almost all of them are already.)

      2. Take the old code out of require_capability.

      3. Add a note to the release notes.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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