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

Bad capability check in assignment recent activity

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.3, 1.8.3, 1.9
    • Fix Version/s: 1.7.4, 1.8.4, 1.9, 2.0
    • Component/s: Assignment (2.2)
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Capability "moodle/course:viewrecent" was not found! This should be fixed in code.

      • line 333 of lib/accesslib.php: call to debugging()
      • line 2483 of mod/assignment/lib.php: call to has_capability()
      • line 286 of course/recent.php: call to assignment_print_recent_mod_activity()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Jan/08