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

mod/h5pactivity review attempts permission not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.4.4, 4.5
    • H5P
    • MOODLE_404_STABLE, MOODLE_405_STABLE

      Testing instructions
      0.- Log in as Teacher (or Admin)
      1.- In a Moodle test course Content bank create a True/False question like this one:
      Title: mammals
      Question: A whale is a mammal.
      Correct answer: default True
      2.- In your test course click Add an activity or resource and select H5P (the blue icon to create an h5pactivity)
      Name: "h5pactivity - viewresponses YES"
      Package file: click on the + icon link which takes you to the Content bank
      select the T/F question "mammals"
      leave the default "Link to the file" choice clicked and click button "Select this file"
      3.- Do not change any of the other options and click button "Save and return to course"
      4.- On the test course page, locate the newly created "h5pactivity - viewresponses YES"
      content and to the right click the 3 vertical dots link and in the menu select Duplicate"
      5.- On the duplicated activity "h5pactivity - viewresponses YES (copy)" click the pen to edit its name, change it to "h5pactivity - viewresponses NO"
      You should see this:

      6.- Click on "h5pactivity - viewresponses NO". You can see question text of the T/F question: "A whale is a mammal"
      7.- Click the More button to the right of the tabs list "H5P Settings Attempts report More" in the menu, select Permissions
      8.- In "Permissions in H5P: h5pactivity - viewresponses NO"
      Advanced role override: Select "Student (0)"
      9.- Locate the row "Activity: H5P Review H5P attemptsmod/h5pactivity:reviewattempts"
      and click the radio button "Prohibit"
      10.- Go to the bottom of the window and click Save changes
      ---------
      11.-Now test with Student role
      At the top right of the Moodle window, click on the button with your initials and select role: Student
      OR log out and log in as a real student on your test site
      12.- Click on the "h5pactivity - viewresponses YES" activity
      13.- When you see the question text A whale is a mammal -> click True and Check
      14.- Click on the link to the name of the test course, then when you can see the whole list of activites in the course, locate the "h5pactivity - viewresponses YES" activity
      15.- Check that you can see the questions test "A whale is a mammal", the True / False radio buttons... and to the right of the H5P tab, you can see the Attempts report tab.
      16.- Click on that link to view the full report of your attempt(s).
      17.- Now Click on the "h5pactivity - viewresponses NO" activity
      18.- When you see the question text A whale is a mammal -> click True and Check
      19.- Click on the link to the name of the test course, then when you can see the whole list of activites in the course, locate the "h5pactivity - viewresponses NO" activity
      20.- If there is no difference with steps 15 and 16, then you CAN see your attempts report... and that is a BUG!

            Unassigned Unassigned
            rezeau Joseph Rézeau
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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