summaryrefslogtreecommitdiff
path: root/roles/jibri-install/files
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jibri-install/files')
-rw-r--r--roles/jibri-install/files/chrome-extension-cookie/README.md31
-rw-r--r--roles/jibri-install/files/chrome-extension-cookie/managed.json15
-rw-r--r--roles/jibri-install/files/chrome-extension-cookie/manifest.json18
-rw-r--r--roles/jibri-install/files/chrome-extension-cookie/schema.json16
4 files changed, 80 insertions, 0 deletions
diff --git a/roles/jibri-install/files/chrome-extension-cookie/README.md b/roles/jibri-install/files/chrome-extension-cookie/README.md
new file mode 100644
index 0000000..5259dba
--- /dev/null
+++ b/roles/jibri-install/files/chrome-extension-cookie/README.md
@@ -0,0 +1,31 @@
+# extension chrome
+
+cette extension permet de forcer le positionnement de cookie
+
+il faut d'abord forcer l'installation de cette extension voir la documentation
+sur [chromium](http://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist)
+
+
+Puis il faut configurer l'extension via le fichier /etc/chromium/policies/managed/content.json
+pour chromium (ou /etc/opt/chrome/policies/managed/managed_policies.json pour chrome) avec le contenu suivant:
+
+```json
+{
+ "3rdparty": {
+ "extensions": {
+ "gkaeknlffijmeakpmmeigddgjhiidhof": {
+ "forcedCookies": [
+ {
+ "name": "rgpd",
+ "value": "nothing",
+ "domain": "visio.imio.be"
+ }
+ ]
+ }
+ }
+ }
+}
+```
+
+
+voir la documentation [ici](http://dev.chromium.org/administrators/configuring-policy-for-extensions)
diff --git a/roles/jibri-install/files/chrome-extension-cookie/managed.json b/roles/jibri-install/files/chrome-extension-cookie/managed.json
new file mode 100644
index 0000000..6ad11c2
--- /dev/null
+++ b/roles/jibri-install/files/chrome-extension-cookie/managed.json
@@ -0,0 +1,15 @@
+{
+ "3rdparty": {
+ "extensions": {
+ "gkaeknlffijmeakpmmeigddgjhiidhof": {
+ "forcedCookies": [
+ {
+ "domain": "toto",
+ "name": "toto name",
+ "value": "toto value"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/roles/jibri-install/files/chrome-extension-cookie/manifest.json b/roles/jibri-install/files/chrome-extension-cookie/manifest.json
new file mode 100644
index 0000000..94e0f9e
--- /dev/null
+++ b/roles/jibri-install/files/chrome-extension-cookie/manifest.json
@@ -0,0 +1,18 @@
+{
+ "name": "Force cookie extension",
+ "version": "1.0.0",
+ "description": "Will set cookie for particular domain",
+ "background": {
+ "scripts": ["background.js"],
+ "persistent": false
+ },
+ "storage": {
+ "managed_schema": "schema.json"
+ },
+ "permissions": [
+ "storage",
+ "cookies",
+ "\u003Call_urls\u003E"
+ ],
+ "manifest_version": 2
+}
diff --git a/roles/jibri-install/files/chrome-extension-cookie/schema.json b/roles/jibri-install/files/chrome-extension-cookie/schema.json
new file mode 100644
index 0000000..e4d170a
--- /dev/null
+++ b/roles/jibri-install/files/chrome-extension-cookie/schema.json
@@ -0,0 +1,16 @@
+{
+ "type": "object",
+ "properties": {
+ "forcedCookies": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "domain": { "type": "string" },
+ "name": { "type": "string" },
+ "value": { "type": "string" }
+ }
+ }
+ }
+ }
+}