Giter VIP home page Giter VIP logo

moodle-local_gdpr_deleteuserdata's Introduction

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&parameters[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

moodle-local_gdpr_deleteuserdata's People

Contributors

dmanolescu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

moodle-local_gdpr_deleteuserdata's Issues

Invalid phpdocs function description

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) {

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.