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

Allow singleview to support 'readonly' views

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.7, 2.9
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE

      Description

      Right now the singleview grader report hardcoded the 'edit' cap requirements:

      require_capability('gradereport/singleview:view', $context);
      require_capability('moodle/grade:viewall', $context);
      require_capability('moodle/grade:edit', $context);
      

      It doesn't support viewing the report read only which other reports do - this would be a nice feature to add.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: