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

Manage H5P editor permissions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: H5P
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      Modifying how the editor use AJAX was not easy without hampering future editor updates, so an AJAX script (h5p/ajax.php) was chosen instead of invoking web service functions.

      Currently, the AJAX script only checks if a user has a valid token that comes from the editor, but we can't check if the user making the request has, for example, permissions to upload files (link to source code).

      The H5P component itself does not define editing capabilities and it's intended to always be used within another component, such as the content bank. Therefore, the H5P component should implement a mechanism to allow those components to be responsible for managing the edition permissions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              vmdef Víctor Déniz Falcón
              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: