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

Inline editing H5P content anywhere

    XMLWordPrintable

Details

    • Moppies Kanban

    Description

      In MDL-71885, the editor for displaying and "Edit H5P content" below the H5P player has been added for the mod_h5pactivity.

      This issue is for adding this button below any H5P content (not just the H5P activity).

       

      Acceptance criteria:

      • Display the edit button only when editing mode is on.
      • Only local files can be edited.
      • Users can edit H5P content in the following situations (the idea is to make it consistent with current edit behaviour: if a user can edit the content where this H5P belongs, he will be able to edit it too, if he has access to the file, of course):
        • If it is a private file and they are the authors OR
        • If it's an H5P content bank file and they can edit it (through the content bank) OR
        • If they have the addinstance capability of the component where the file belongs OR
        • If it's mod_forum and they can edit the post where the H5P is. In the future, other similar scenarios can be added too (like glossary). But, for now, they are out of the scope of this issue.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              Carlos Escobedo Carlos Escobedo
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 4 hours, 55 minutes
                  2d 4h 55m