XMLWordPrintable

    • MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-63531-master
    • Hide
      • Make sure to have a course with teachers and students enrolled.
      1. Create an assignment
        1. Set Submissions types to Online text and File submissions
        2. Check the feedback types - Feedback comments, Annotate PDF, and Feedback files.
      2. Create some user overrides (Assignment administration > User overrides)
      3. Login as multiple students (at least three) and:
        1. Add Submission comments
        2. Add text and images to the online text.
        3. Add a file for the file submissions.
      4. Log in as a teacher and with several students:
        1. Add a comment to the student's submission comments
        2. Add a grade to the user.
        3. Add feedback comments.
        4. Add a feedback file.
      5. Find out the context id for the assignment. Run the script php getcontextid.php --name=assignmentname Make sure to change "assignmentname" to the name of your assignment.
      6. Get the userid for two of the students. (if you hover over the picture of the image then the url should have "...id=4" or something similar. This is the userid)
      7. Run the test script php testdelete.php --userids=2,3 --contextid=55 Make sure to change the userids and context id to the ones relevant to your test.
      8. Log in as a teacher or administrator and check that the overrides, submissions, and grades have been removed only for the users that were selected for deletion.
      Show
      Make sure to have a course with teachers and students enrolled. Create an assignment Set Submissions types to Online text and File submissions Check the feedback types - Feedback comments, Annotate PDF, and Feedback files. Create some user overrides (Assignment administration > User overrides) Login as multiple students (at least three) and: Add Submission comments Add text and images to the online text. Add a file for the file submissions. Log in as a teacher and with several students: Add a comment to the student's submission comments Add a grade to the user. Add feedback comments. Add a feedback file. Find out the context id for the assignment. Run the script php getcontextid.php --name=assignmentname Make sure to change "assignmentname" to the name of your assignment. Get the userid for two of the students. (if you hover over the picture of the image then the url should have "...id=4" or something similar. This is the userid) Run the test script php testdelete.php --userids=2,3 --contextid=55 Make sure to change the userids and context id to the ones relevant to your test. Log in as a teacher or administrator and check that the overrides, submissions, and grades have been removed only for the users that were selected for deletion.
    • GDPR Followup Sprint 1

      Add support to identify and remove users in a context for mod_assign and it's sub-plugins.

        1. getcontextid.php
          2 kB
          Adrian Greeve
        2. image-2018-10-30-13-36-02-071.png
          162 kB
          Janelle Barcega
        3. testdelete.php
          2 kB
          Adrian Greeve

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.