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

Wrong capability check on question/banks.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 5.0, 5.1
    • Questions

      Currently, to access the overview of question banks you need to have moodle/course:manageactivities which seems wrong.

      If I assign the role "teacher" to a student on a question bank the student should have access to the question banks overview page.

      IMO capability check should not check for moodle/course:manageactivities but instead check if for every question bank in the course the current user has one of the related question edit/view capabilities.

            phmemmel PhMemmel
            phmemmel PhMemmel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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