Skip to content

Commit

Permalink
change(gdpr): Disable Youtube, Google Maps and HTML blocks - refs #15…
Browse files Browse the repository at this point in the history
…4749
  • Loading branch information
avoinea committed Sep 19, 2022
1 parent e405a9f commit ebabd0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-eea-kitkat",
"version": "7.1.4",
"version": "8.0.0",
"description": "@eeacms/volto-eea-kitkat: Volto Add-ons bundle - A known good set of Volto addons to be used within all EEA projects and beyond",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
5 changes: 5 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const applyConfig = (config) => {
config.blocks.blocksConfig.description.restricted = false;
}

// Disable non-GDPR compliant blocks
config.blocks.blocksConfig.video.restricted = true;
config.blocks.blocksConfig.maps.restricted = true;
config.blocks.blocksConfig.html.restricted = true;

// Changelogs
config.settings.changelogUrlPrefix =
config.settings.changelogPrefix || __SERVER__
Expand Down

0 comments on commit ebabd0f

Please sign in to comment.