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

Add API hook to assign_submission_file::get_form_elements for EULA

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Assignment, Plagiarism
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Some Plagiarism plugins require the student agrees to an EULA but by the current API hooks are all post-file submission so it's hard to implement this in a user-friendly way (EULA's are nasty things anyway)

      The assign_submission_plugin class uses the function get_form_elements() to add form elements to the submission page - The plagiarism plugin could add the EULA check directly to the submission page and prevent the form submission unless the EULA is accepted.

      I haven't looked to see if the forum or workshop modules provide a location where we could add this but we could implement it in the assignment plugin first.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danmarsden Dan Marsden
              Participants:
              Component watchers:
              Damyon Wiese, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: