Commit graph

11 commits

Author SHA1 Message Date
Michael Hawkins
95a844ebdc MDL-62660 tool_dataprivacy: Add and update PHPUnit tests
Updated tests with latest statuses.
Added testing for request download expiry functionality and method.
Added assign_site_dpo within a parent class for unit tests.
2018-08-20 15:31:20 +08:00
Andrew Nicols
c46919aa91 Merge branch 'MDL-61652-master' of git://github.com/mihailges/moodle 2018-07-25 08:32:22 +08:00
sam marshall
635c7b29a0 MDL-61652 tool_dataprivacy: Add capabilities to control data downloads 2018-07-24 14:23:16 +08:00
Jun Pataleta
f0ccce9af7 MDL-62962 tool_dataprivacy: Move user generation within the test 2018-07-23 13:35:50 +08:00
Jun Pataleta
4c72ffa5ef MDL-62211 tool_dataprivacy: Request filtering and pagination
* Make data requests page use table_sql to make it sortable
* Also, add an autocomplete element that enables filtering by
  status and request type.
2018-06-29 10:32:04 +08:00
Jun Pataleta
7bdb9d877d MDL-62409 tool_dataprivacy: Properly validate data request creation
Creating data requests
 * Add capability check when creating data requests for another user.
Ad-hoc task that processes pending data requests
 * Check if the requesting user has the capability to create the data
   request for another user. Reject otherwise.
Ad-hoc task that processes approved data requests
 * Validate that the requester can receive the notification about the
   data request processing results.
 * Do not send the confirmation link to DPOs/admins
2018-05-13 16:03:21 +02:00
Andrew Nicols
00293f90a4 MDL-61635 tool_dataprivacy: Filter out protected contexts in delete 2018-05-10 20:36:02 +02:00
Jun Pataleta
ba5b59c0af MDL-61899 tool_dataprivacy: Fixes during integration review
* Disable tool by default.
* Add format columns for 'comments' and 'dpocomment' fields in
tool_dataprivacy_request table.
* Use data request exporter when sending email notification to DPO
2018-04-18 18:23:13 +02:00
Jun Pataleta
0462786a78 MDL-61899 tool_dataprivacy: Unit test fixes 2018-04-18 18:22:41 +02:00
David Monllao
a8a6905039 MDL-61899 tool_dataprivacy: Refined patch fixing cibot complains 2018-04-18 18:14:59 +02:00
David Monllao
5efc1f9e64 MDL-61899 tool_dataprivacy: Subject access requests tool
This commit is composed of different issues, most of them under
MDL-61306:
- MDL-61888, MDL-61785, MDL-61830, MDL-61874, MDL-59720,
  MDL-61486, MDL-61697, MDL-61798, MDL-61685, MDL-61682,
  MDL-61684, MDL-61618, MDL-61681, MDL-61680, MDL-61487,
  MDL-61499, MDL-61500, MDL-61362 and MDL-59718

Contributions to this patch by:
- Jun Pataleta
- David Monllao
- Andrew Nicols
- Adrian B. Greeve
- Jake Dallimore
- Sara Arjona
2018-04-18 18:14:23 +02:00