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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.4
    • Fix Version/s: None
    • Component/s: H5P
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ilyatregubov Ilya Tregubov
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: