# GDPR Tools

## Requirements (self-hosted)

| GLPI Version | Minimum PHP | Recommended |
| ------------ | ----------- | ----------- |
| 10.0.x       | 8.1         | 8.2         |
| 11.0.x       | 8.2         | 8.4         |

{% hint style="info" %}
A [GLPI Network BASIC](https://services.glpi-network.com/#offers) subscription (or higher) is required. This plugin is also available for all GLPI Network [Cloud instances](https://glpi-network.cloud).
{% endhint %}

***

## Install the plugin

* Go to the marketplace. Download and install the **GDPR Tools** plugin.

<div align="left"><figure><img src="/files/ys9VTAZaev68aWBsvZAs" alt="images/GDRP-1.png"><figcaption></figcaption></figure></div>

***

## Configure the plugin

* From **`Setup` > `General > GDPR tools`**

### Cleaning up inactive users

There are two possible ways of managing inactive users:

* Clearing the user's data
* Deleting the user

### Cleaning up user data

When the plugin is configured in **Clean** mode, the following actions will be performed:

* Delete all references to the user from the GLPI history
* Delete all associated emails
* Reset all user fields and profiles
* Move the user to the recycle bin

### Delete the user

When the plugin is configured in "Delete" mode, the following actions will be performed:

* Delete all references to the user from the GLPI history
* Delete all associated emails
* Delete the user

{% hint style="warning" %}
Deletion is permanent, the user cannot be recovered
{% endhint %}

### Scope restriction

The automated deletion process can be restricted to the following scopes:

* All inactive users
* Inactive users with no current tickets
* Inactive users without tickets

<figure><img src="/files/7Qa7PThgyC3vuVHfTlJQ" alt="images/GDRP-2.png"><figcaption></figcaption></figure>

### Automated action

Deletion will take place via a standard GLPI automatic action that can be configured to run as often as you like.

* Go to **`Setup` > `Automatic actions`**, and select the **`cleaninactiveuser`** action then configure it according to your needs.

<figure><img src="/files/cJdQGm2HBiDMPKANyY0C" alt="images/GDRP-3.png"><figcaption></figcaption></figure>

***

## FAQ

If you have any questions about using the plugin, please consult our FAQ

<a href="/spaces/SvoJ3lioglS2UZLcWWyP/pages/7BTvC5UVVLlO3xznpz8q" class="button secondary">Go to FAQ</a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.glpi-project.org/doc-plugins/plugin-glpi-network/gdpr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
