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

non editing teachers don't have mod/h5pactivity:reviewattempts by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.9.4
    • H5P
    • MOODLE_39_STABLE

      both editing teachers and non editing teachers should be able to review attempts by default, however due to cap definition

          'mod/h5pactivity:reviewattempts' => array(
              'captype' => 'read',
              'contextlevel' => CONTEXT_MODULE,
              'archetypes' => array(
                  'teacher' => CAP_ALLOW,
                  'editingteacher' => CAP_ALLOW,
                  'manager' => CAP_ALLOW
              ),
              'clonepermissionsfrom' => 'moodle/grade:manage'
          ),
      

      non editing teacher cap is overriden by moodle/grade:manage

            Unassigned Unassigned
            ilyatregubov Ilya Tregubov
            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.