dmanolescu / moodle-local_gdpr_deleteuserdata Goto Github PK
View Code? Open in Web Editor NEWweb service for moodle user deletion privacy api
web service for moodle user deletion privacy api
copyright 2018 Dorel Manolescu author Dorel Manolescu [email protected] license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later CHANGES CHANGES version 2018041344: The first iteration of the plugin. Requires Moodle 3.5 ABOUT This plugin for Moodle allows calling the privacy api user data deletion via a web-service call. The plugin uses moodle web-service layer and the web-service call is the same as for any other moodle web-services. (example: https://yoursite/webservice/rest/server.php?wstoken=opensesame&wsfunction=local_gdpr_deleteuserdata_single &moodlewsrestformat=json¶meters[userid]=23) The web-service call takes as parameter the moodle userid. It requires : moodle/user:delete permission. Advisable steps to set up the web-service: 1) create a blank new role at the system level; 2) add moodle/user:delete permission; 3) create a user that will be able to run this web-service; 4) add the user to the role created in step 1; 5) create a token for our new user/gdpr_deleteuserdata web-service. In case there is a need to add the web-service as core web-service this line needs to be added: 'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE), in services.php SETTINGS This local plugin allows you to configure: nothing for the moment. INSTALLATION Just place the gdpr_deleteuserdata directory inside your Moodle's local directory. Install the plugin and browse to: Site Administration->Plugins->Local plugins->GDPR delete userdata After installation, the new service should be visible under: admin/settings.php?section=externalservices
I think this has been copy&pasted from elsewhere:
/**
* Register a slave site to master instance
* @return array with message
*/
public static function single($parameters) {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.