Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.21 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.21 KB

GDPR

Plugin adding functionality to comply with the GDPR

API

This plugin provides an API for other plugins, so they can comply with the GDPR more easily.

The API consists of so called DataPoints, each data point represents one type of data collected by the providing plugin. Depending on what type of data point it is, it needs to provide methods of requesting and deleting the data.

Example Extension

In order to register your data points, please refer to the GDPRExtensionPoint and the PF4J Documentation

@Extension
class MyGDPRExtension : GDPRExtensionPoint {
    override fun provideDataPoints(): List<DataPoint> = listOf(dataPoint1, dataPoint2, dataPoint3)
}

For an example data point, you can check the database-i18n plugin

You can also refer to the DataPoint.kt file to learn more about data points and their different types