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

Add Admin UI to delete existing H5P libraries

XMLWordPrintable

    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-67062-master
    • Hide

      Setup

      1. Login as admin.
      2. Create a course with a forum.
      3. Enrol a teacher (t1) in the course.
      4. Add a new topic to the forum ("Admin's H5P content"). In the message, use the H5P button in the Atto editor to add the arithmetic-quiz.h5p content. 
      5. Save and check the H5P content is displayed as expected.
      6. Logout.
      7. Login as teacher t1.
      8. Add a new topic to the forum ("Teacher's H5P content"). In the message, use the H5P button in the Atto editor to add the arithmetic-quiz.h5p content. 
      9. Save and check the H5P content is displayed as expected.
      10. Logout.

      Testing scenario: Delete a library.

      1. Login as admin.
      2. Go to "Site administration / H5P / Manage H5P content types".
      3. Delete library "Transition".
      4. Access to the forum discussion "Teacher's H5P content".
      5. Check the H5P content is not displayed. Several messages are displayed, one of them is similar to "missing-required-library : Missing required library H5P.ArithmeticQuiz 1.1".
      6. Access to the forum discussion "Admin's H5P content".
      7. Check the H5P content is displayed as expected ("Solve these multiplication quizzes as fast as you can!").
      8. Access again to the forum discussion "Teacher's H5P content".
      9. Check now the H5P content is displayed as expected ("Solve these multiplication quizzes as fast as you can!").
      Show
      Setup Login as admin. Create a course with a forum. Enrol a teacher (t1) in the course. Add a new topic to the forum ("Admin's H5P content"). In the message, use the H5P button in the Atto editor to add the  arithmetic-quiz.h5p  content.  Save and check the H5P content is displayed as expected. Logout. Login as teacher t1. Add a new topic to the forum ("Teacher's H5P content"). In the message, use the H5P button in the Atto editor to add the  arithmetic-quiz.h5p  content.  Save and check the H5P content is displayed as expected. Logout. Testing scenario: Delete a library. Login as admin. Go to "Site administration / H5P / Manage H5P content types". Delete library "Transition". Access to the forum discussion "Teacher's H5P content". Check  the H5P content is not displayed. Several messages are displayed, one of them is similar to " missing-required-library : Missing required library H5P.ArithmeticQuiz 1.1 ". Access to the forum discussion "Admin's H5P content". Check  the H5P content is displayed as expected ("Solve these multiplication quizzes as fast as you can!"). Access again to the forum discussion "Teacher's H5P content". Check  now the H5P content is displayed as expected ("Solve these multiplication quizzes as fast as you can!").

      Whilst reviewing the H5P integration (MDL-66609) an issue has been raised to control who can install/update the content-type libraries.

      The list of all the content-type libraries will be displayed in a page. Admins should be able to remove libraries from here too.
       

        1. arithmetic-quiz.h5p
          731 kB
        2. contenttypelibrary.png
          contenttypelibrary.png
          35 kB
        3. image-2020-02-27-08-03-39-342.png
          image-2020-02-27-08-03-39-342.png
          166 kB
        4. libraries_arithmetic.png
          libraries_arithmetic.png
          43 kB
        5. MDL-67062_Peer_Review.jpg
          MDL-67062_Peer_Review.jpg
          122 kB

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Ferran Recio Ferran Recio
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 3 hours, 35 minutes
                3d 3h 35m

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