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

Quiz: quiz attempt API should let you create an attempt for a different user

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.6, 3.7.2, 3.8
    • Fix Version/s: 3.8
    • Component/s: Quiz
    • Labels:

      Description

      The quiz_create_attempt method allows you to specify the $userid the attempt is for, separate from the identity of the current user.
      However, the quiz_prepare_and_start_new_attempt does not support this.
      They should have a $userid = null parameter

        Attachments

          Activity

            People

            • Assignee:
              HuongNV Huong Nguyen
              Reporter:
              HuongNV Huong Nguyen
              Peer reviewer:
              Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m