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

Inline editing H5P content anywhere

    XMLWordPrintable

    Details

    • Sprint:
      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

              Assignee:
              sarjona Sara Arjona (@sarjona)
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Carlos Escobedo Carlos Escobedo
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

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