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

Grant non-editing teacher mod/h5pactivity:reviewattempts

XMLWordPrintable

    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_404_STABLE
    • MDL-80028-h5p_caps
    • Hide

      Test 1: New install

      1. Install Moodle.
      2. Go to Site administration > Users > Permissions > Define roles.
      3. For role Non-editing teacher click the edit icon (gear wheel).
      4. Click Show advanced.
      5. In the Filter field type "mod/h5pactivity:reviewattempts".
      6. Check that mod/h5pactivity:reviewattempts is "Allow".

      Test 2: Upgrade when permission has not been changed

      1. In a Moodle site without the patch, login as admin.
      2. Go to Site administration > Users > Permissions > Define roles.
      3. For role Non-editing teacher click the edit icon (gear wheel).
      4. Click Show advanced.
      5. In the Filter field type "mod/h5pactivity:reviewattempts".
      6. Check mod/h5pactivity:reviewattempts is "Not set".
      7. Apply patch and upgrade Moodle when prompted.
      8. Repeat steps 2, 3 and 5.
      9. Confirm mod/h5pactivity:reviewattempts is still "Not set".

      Test 3: Upgrade when permission has already been changed

      1. In a Moodle site without the patch, login as admin.
      2. Go to Site administration > Users > Permissions > Define roles.
      3. For role Non-editing teacher click the edit icon (gear wheel).
      4. Click Show advanced.
      5. In the Filter field type "mod/h5pactivity:reviewattempts".
      6. Change mod/h5pactivity:reviewattempts to "Prevent" and click Save changes.
      7. Apply patch and upgrade Moodle when prompted.
      8. Repeat steps 2, 3 and 5.
      9. Confirm mod/h5pactivity:reviewattempts is still "Prevent".
      Show
      Test 1: New install Install Moodle. Go to Site administration > Users > Permissions > Define roles . For role Non-editing teacher click the edit icon (gear wheel). Click Show advanced . In the Filter field type "mod/h5pactivity:reviewattempts". Check that mod/h5pactivity:reviewattempts is "Allow". Test 2: Upgrade when permission has not been changed In a Moodle site without the patch, login as admin. Go to Site administration > Users > Permissions > Define roles . For role Non-editing teacher click the edit icon (gear wheel). Click Show advanced . In the Filter field type "mod/h5pactivity:reviewattempts". Check mod/h5pactivity:reviewattempts is "Not set". Apply patch and upgrade Moodle when prompted. Repeat steps 2, 3 and 5. Confirm mod/h5pactivity:reviewattempts is still "Not set". Test 3: Upgrade when permission has already been changed In a Moodle site without the patch, login as admin. Go to Site administration > Users > Permissions > Define roles . For role Non-editing teacher click the edit icon (gear wheel). Click Show advanced . In the Filter field type "mod/h5pactivity:reviewattempts". Change mod/h5pactivity:reviewattempts to "Prevent" and click Save changes . Apply patch and upgrade Moodle when prompted. Repeat steps 2, 3 and 5. Confirm mod/h5pactivity:reviewattempts is still "Prevent".

      I think Non-editing teacher should have mod/h5pactivity:reviewattempts = "Allow".

      If you add a new role selecting ARCHETYPE: Non-editing teacher the role will have mod/h5pactivity:reviewattempts = "Allow". But for the actual Non-editing teacher role this capability is "Not set".

            leonstr Leon Stringer
            leonstr Leon Stringer
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ferran Recio Ferran Recio
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 49 minutes
                5h 49m

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