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

Unable to reset submitted unapproved SARs after plugins are updated / installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3.6, 3.4.3, 3.5
    • Fix Version/s: 3.4.6, 3.5.3
    • Component/s: Privacy
    • Labels:
    • Testing Instructions:
      Hide
      Master
      1. Open Site administration -> Users -> Privacy and Policies -> Data requests
      2. Create a delete request
      3. Open its action menu
      4. Deny the request
      5. Open its action menu again
        1. Confirm that you have the option to resubmit the request
      6. Close the menu (without resubmitting)
      7. Create a new delete request for the same user
      8. Open the action menu for the previously rejected request again
        1. Confirm that you no longer have the option to resubmit the request
      9. Deny the latest request
      10. Open the action menu for both of the rejected requests
        1. Confirm that you do have the option to resubmit the request
      11. From either one, choose to resubmit the request and confirm
      12. Open the action menu for both of the rejected requests
        1. Confirm that you no longer have the option to resubmit the request
      13. Open the action menu for the request which is now "Awaiting approval"
        1. Confirm that you do not have the option to resubmit the request
      14. From the menu, approve the request
      15. Open the action menu for the request which is now "Approved"
        1. Confirm that you do have the option to resubmit the request
      16. Choose to resubmit the request, and confirm
        1. Confirm that the approved request has been marked as rejected
        2. Confirm that a new request has been created.
      17. Cancel the request
      Stables
      1. Open Site administration -> Users -> Privacy and Policies -> Data requests
      2. Create a delete request
      3. Run cron

        php admin/cli/cron.php
        

      4. Deny the request
      5. Open its action menu
        1. Confirm that you have the option to resubmit the request
      6. Close the menu (without resubmitting)
      7. Create a new delete request for the same user
      8. Run cron

        php admin/cli/cron.php
        

      9. View the list again
      10. Open the action menu for the rejected request
        1. Confirm that you no longer have the option to resubmit the request
      11. Deny the latest request
      12. Open the action menu for both of the rejected requests
        1. Confirm that you do have the option to resubmit the request
      13. From either one, choose to resubmit the request and confirm
      14. Open the action menu for both of the rejected requests
        1. Confirm that you no longer have the option to resubmit the request
      15. Run cron

        php admin/cli/cron.php
        

      16. Refresh the page
      17. Open the action menu for the request which is now "Awaiting approval"
        1. Confirm that you do have the option to resubmit the request
        2. Choose to resubmit the request, and confirm
      18. Run cron

        php admin/cli/cron.php
        

      19. Approve the newly created request
      20. Open the action menu for the request which is now "Approved"
        1. Confirm that you do have the option to resubmit the request
      21. Choose to resubmit the request, and confirm
        1. Confirm that the approved request has been marked as rejected
        2. Confirm that a new request has been created.
      Show
      Master Open Site administration -> Users -> Privacy and Policies -> Data requests Create a delete request Open its action menu Deny the request Open its action menu again Confirm that you have the option to resubmit the request Close the menu (without resubmitting) Create a new delete request for the same user Open the action menu for the previously rejected request again Confirm that you no longer have the option to resubmit the request Deny the latest request Open the action menu for both of the rejected requests Confirm that you do have the option to resubmit the request From either one, choose to resubmit the request and confirm Open the action menu for both of the rejected requests Confirm that you no longer have the option to resubmit the request Open the action menu for the request which is now "Awaiting approval" Confirm that you do not have the option to resubmit the request From the menu, approve the request Open the action menu for the request which is now "Approved" Confirm that you do have the option to resubmit the request Choose to resubmit the request, and confirm Confirm that the approved request has been marked as rejected Confirm that a new request has been created. Cancel the request Stables Open Site administration -> Users -> Privacy and Policies -> Data requests Create a delete request Run cron php admin/cli/cron.php Deny the request Open its action menu Confirm that you have the option to resubmit the request Close the menu (without resubmitting) Create a new delete request for the same user Run cron php admin/cli/cron.php View the list again Open the action menu for the rejected request Confirm that you no longer have the option to resubmit the request Deny the latest request Open the action menu for both of the rejected requests Confirm that you do have the option to resubmit the request From either one, choose to resubmit the request and confirm Open the action menu for both of the rejected requests Confirm that you no longer have the option to resubmit the request Run cron php admin/cli/cron.php Refresh the page Open the action menu for the request which is now "Awaiting approval" Confirm that you do have the option to resubmit the request Choose to resubmit the request, and confirm Run cron php admin/cli/cron.php Approve the newly created request Open the action menu for the request which is now "Approved" Confirm that you do have the option to resubmit the request Choose to resubmit the request, and confirm Confirm that the approved request has been marked as rejected Confirm that a new request has been created.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Epic Link:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-62589-master
    • Sprint:
      GDPR Followup Sprint 1

      Description

      Use case:

      • A user submits a new SAR (e.g. to export all their data)
      • Admin only after that installs a new plugin, or updates existing plugins (e.g. so they have the privacy API implemented)
      • We now should be able to reset the submitted unapproved SARs so that contexts are re-gathered.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

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

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h