Commit Graph

60 Commits

Author SHA1 Message Date
sam marshall 635c7b29a0 MDL-61652 tool_dataprivacy: Add capabilities to control data downloads 2018-07-24 14:23:16 +08:00
Jun Pataleta ef7f7cfdf8 MDL-62026 tool_dataprivacy: Allow manual completion of general enquiries 2018-07-10 12:30:56 +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 dd26f1be12 MDL-61889 tool_dataprivacy: Fix CI errors 2018-06-26 13:20:31 +08:00
adamtppaw c6363e8c23 MDL-62270 Privacy: Cron task fails when admin directory renamed 2018-06-03 22:12:43 +02:00
Jake Dallimore dc69734963 Merge branch 'MDL-62134-master' of git://github.com/andrewnicols/moodle 2018-05-16 12:39:27 +08:00
Andrew Nicols 8da25ca04c MDL-62134 tool_dataprivacy: Remove reference to old manager 2018-05-16 12:27:00 +08:00
Jake Dallimore 0e156326cc Merge branch 'MDL-62134-master' of git://github.com/andrewnicols/moodle 2018-05-16 12:01:49 +08:00
Andrew Nicols 8760b7335b MDL-62134 tool_dataprivacy: Add a manager_observer 2018-05-16 11:52:46 +08:00
Marina Glancy 3f18d2af9a MDL-62134 tool_dataprivacy: privacy manager wrapper
If exception occurs in one plugin implementation do not fail the whole job but
instead send a message to DPOs with the exception details
2018-05-16 09:02:01 +08:00
David Monllao bcd677bc6a Merge branch 'wip-MDL-62445-master' of git://github.com/marinaglancy/moodle 2018-05-15 13:33:25 +02:00
Marina Glancy 8880510d40 MDL-62445 tool_privacy: pass correct user to message_send 2018-05-15 10:27:52 +08:00
David Monllao 014335fb2b Merge branch 'MDL-62370-master' of git://github.com/andrewnicols/moodle 2018-05-14 16:00:32 +02:00
Andrew Nicols 502344a904 MDL-62370 core_privacy: Directory-less subsystems are compliant 2018-05-14 19:59:43 +08:00
David Monllao 05dcf35796 Merge branch 'MDL-62425-master' of git://github.com/andrewnicols/moodle 2018-05-14 10:57:14 +02:00
Andrew Nicols b5b86c298c MDL-62425 tool_dataprivacy: Add core to the list of components 2018-05-14 15:41:30 +08:00
Jake Dallimore c7a2ed73b7 Merge branch 'MDL-62016_master' of git://github.com/dmonllao/moodle 2018-05-14 11:05:45 +08:00
Andrew Nicols 54ef15dac8 Merge branch 'MDL-62413-master' of git://github.com/junpataleta/moodle 2018-05-14 10:16:27 +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
David Monllao 4023f84b29 MDL-62016 tool_dataprivacy: More data registry information 2018-05-13 13:21:41 +02:00
Jun Pataleta 0f7fb98747 MDL-62299 tool_dataprivacy: Show requests correctly in mydatarequests
For DPOs viewing their personal data requests page (mydatarequests.php),
show only the requests they made for themselves and for their children.
2018-05-13 16:18:58 +08:00
Jun Pataleta 2389ce39ac MDL-62413 tool_dataprivacy: Let users cancel data request made for them 2018-05-12 10:18:38 +08:00
Jun Pataleta 9eb19cdf94 Merge branch 'MDL-62075_master' of git://github.com/dmonllao/moodle 2018-05-12 00:29:56 +08:00
Eloy Lafuente (stronk7) 614ebf05ea Merge branch 'MDL-61637_master' of git://github.com/dmonllao/moodle 2018-05-11 18:09:02 +02:00
David Monllao aaa1140d9a Merge branch 'MDL-62397-master' of git://github.com/andrewnicols/moodle 2018-05-11 13:14:05 +02:00
Andrew Nicols cef2c013d2 Merge branch 'MDL-62373_master' of git://github.com/dmonllao/moodle 2018-05-11 15:28:09 +08:00
David Monllao 868fc2aba1 MDL-61637 tool_dataprivacy: Point to new blocks API function 2018-05-11 09:05:43 +02:00
Andrew Nicols ddb1a13573 MDL-62397 tool_dataprivacy: Check for inactive status properly 2018-05-11 11:20:19 +08:00
Jun Pataleta 195f6fe37e Merge branch 'MDL-62388_master' of git://github.com/dmonllao/moodle 2018-05-11 10:03:44 +08:00
Andrew Nicols 00293f90a4 MDL-61635 tool_dataprivacy: Filter out protected contexts in delete 2018-05-10 20:36:02 +02:00
David Monllao a319808cfb MDL-62075 tool_dataprivacy: Display correctly requests for other users 2018-05-10 17:43:59 +02:00
David Monllao c459409c1b MDL-61637 tool_dataprivacy: Context-based fetching
Blocks API do not provide methods to retrieve a list of
blocks without filtering by UI-availability. We need to
get course blocks based on their course context.
2018-05-10 15:56:50 +02:00
David Monllao bdc43d7729 MDL-62388 tool_dataprivacy: Default value if no sensitive data provided 2018-05-10 14:57:43 +02:00
Jake Dallimore eac66ff63c Merge branch 'MDL-61971-master' of git://github.com/mickhawkins/moodle 2018-05-10 16:23:22 +08:00
David Monllao 7258bf0bcf MDL-62373 tool_dataprivacy: Get rid of profile's contact dpo left-margin 2018-05-10 10:18:10 +02:00
Michael Hawkins be5cc0ba03 MDL-61971 dataprivacy: Added warning messages where data request pages are viewed on non-HTTPS sites 2018-05-09 11:59:26 +08:00
Adrian Greeve c8e4922194 MDL-62289 tool_dataprivacy: Ensure all user data deleted.
We now do a comprehensive check and clean of user data when
a user context expires.
2018-05-09 10:16:39 +08:00
Jun Pataleta 38ffa48cf5 MDL-62209 tool_dataprivacy: Sort requests by ascending status
Sort requests by ascending status and request date so that the DPO
can go through the list in a FIFO fashion
2018-04-26 12:17:24 +08:00
David Monllao 05564a4cc6 MDL-61899 tool_dataprivacy: Add missing get_role_users fields 2018-04-20 17:46:49 +02:00
Eloy Lafuente (stronk7) 837b937511 Merge branch 'MDL-61899_master-fixsubjectscope' of git://github.com/dmonllao/moodle 2018-04-20 10:46:36 +02:00
David Monllao 5a3280a18f MDL-61899 tool_dataprivacy: Replace wrong function for subject scope 2018-04-20 10:27:05 +02:00
Mark Sharp c3002d2c3f MDL-61899 tool_dataprivacy: Fix undefined property error 2018-04-20 14:38:51 +08:00
Jun Pataleta 329241335f MDL-61899 tool_dataprivacy: Use default parameters for get_role_users()
* To avoid failures in Oracle.
2018-04-20 11:26:03 +08: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
David Monllao bb4030ff27 MDL-61899 tool_dataprivacy: Fix cibot complains 2018-04-18 18:22:58 +02:00
Jun Pataleta 0d41df6b5a MDL-61899 tool_dataprivacy: Create name-description exporter
Create exporter for lawful bases that contain name and description pairs
2018-04-18 18:22:49 +02:00
David Monllao 042729af22 MDL-61899 tool_dataprivacy: Remove namespace alias
Includes MDL-61935
2018-04-18 18:22:15 +02:00
Jun Pataleta 5750d233f9 MDL-61899 tool_dataprivacy: Add lawful bases fields
Includes MDL-61935

* New fields when defining purposes that let the Privacy Officer
set the lawful bases of personal data collection and reason(s)
for the exemption of prohibition from processing sensitive personal
data.
2018-04-18 18:19:17 +02:00
David Monllao e60058ff98 MDL-61899 tool_dataprivacy: Delete user after deletion request or expired context
Includes MDL-61955
2018-04-18 18:18:47 +02:00
Jun Pataleta 2076d34b8e MDL-61899 tool_dataprivacy: Implement data export for the tool 2018-04-18 18:18:38 +02:00