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
* 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
Fetch the context ids to be updated first before performing the update
to the contextlist_context table to avoid using subquery that causes
cross DB compatibility issues.
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