Magnolia 6.1 reached end of life on March 31, 2021. This branch is no longer supported, see End-of-life policy.
The Privacy module enables you to produce websites compliant with the General Data Protection Regulation (GDPR).
artifactID | Description |
---|---|
| Parent reactor. |
| Provides the API for GDPR-related operations. |
| Provides a privacy-aware form component. |
| Provides:
|
| Provides usage examples of the above modules. |
| Provides the cookie API. |
Maven is the easiest way to install the modules. Add the following dependency to your bundle: Maven dependency management will include the other required submodules. Make sure that all dependencies are in the same version. The latest version of the module is 1.1.1
<dependency>
<groupId>info.magnolia.privacy</groupId>
<artifactId>magnolia-privacy-cookie-manager</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.privacy</groupId>
<artifactId>magnolia-privacy-visitor-manager</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.privacy</groupId>
<artifactId>magnolia-privacy-ui</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.privacy</groupId>
<artifactId>magnolia-privacy-sample</artifactId>
</dependency>
The configuration of the Privacy module is done in the privacy-visitor-manager
submodule, which allows you to define the following:
Personal field groups are configured under /visitor-manager/config/personalFields
, see an example hierarchy below.
A content app processing GDPR-sensitive data, or an editor working with such an app, is able to process the data only if the visitor has given consent.
A visitor must give consent for the whole group, such as name
or addressOne
in the example below.
Example field hierarchy visitor-manager config personalFields email fieldNames email email name fieldNames lastName lastname middleName middlename firstName firstname addressOne fieldNames country country city city streetAddress streetaddress zipCode zipNode Value
The searchers are defined under /visitor-manager/config/visitorReferencesSearchers
. Magnolia provides searcher configurations out-of-the-box for:
JCR Searcher
In the following example, the visitor-manager config visitorReferencesSearchers jcr class info.magnolia.consent.visitor.jcr.JcrVisitorReferencesSearcher workspaces contacts contacts visitors visitorscontact
and visitors
workspaces are registered to be able to process GDPR-sensitive data in the JcrVisitorReferencesSearcher
:Node Value
Node | Description |
---|---|
<searcher-name> | |
| required The class implementing the searcher. The following searcher implementations are provided by Magnolia:
|
| |
| required Name of the workspace registered to process GDPR-sensitive data.
|
This feature is relevant only to JCR. We don't provide any filtering for Watson.
Under the excludedNames
node of the /visitor-manager/commands
configuration subtree, you can list the properties that should not be included in a GDPR report. GDPR reports typically show all visitor-related data and data categories stored and processed for the purposes of GDPR.
The following example shows an exclusion configuration implementing the visitor-manager commands visitor-manager export class info.magnolia.consent.visitor.jcr.JcrPrivateRecordReference$ExportCommand contentDecorator propertyPredicate class info.magnolia.jcr.predicate.PropertyFilteringPredicate excludedNames mgnlLastActivatedVersionCreated mgnl:lastActivatedVersionCreated mgnlLastActivatedVersion mgnl:lastActivatedVersion jcrCreated jcr:created mgnlLastActivatedBy mgnl:lastActivatedBy mgnlLastActivated mgnl:lastActivated mgnlLastModifiedBy mgnl:lastModifiedBy jcrPrimaryType jcr:primaryType mgnlActivationStatus mgnl:activationStatusinfo.magnolia.consent.visitor.jcr.JcrPrivateRecordReference
class: Node Value
Node | Description |
---|---|
export | |
| required The class implementing the export function. Magnolia provides the following implementation classes out-of-the-box:
|
| |
| |
| required Must implement the |
| |
| optional The name of the property to be excluded from appearing in a GDPR report file. |