From 5c2b51b9d4a99ee8ea691087e88a0c60656dd76d Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 28 Feb 2013 12:13:52 +0000 Subject: [PATCH] config: add capabilities.canReadText and textRightsLevels --- pandora/config.0xdb.jsonc | 5 +++++ pandora/config.indiancinema.jsonc | 7 ++++++- pandora/config.padma.jsonc | 5 +++++ pandora/config.pandora.jsonc | 5 +++++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index 36a58916..9497de28 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -43,6 +43,7 @@ "canManageUsers": {"staff": true, "admin": true}, "canPlayClips": {"guest": 2, "member": 2, "friend": 4, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "friend": 4, "staff": 4, "admin": 4}, + "canReadText": {"guest": 0, "member": 0, "friend": 1, "staff", 1, "admin": 1}, "canRemoveItems": {"admin": true}, "canSeeAccessed": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true}, @@ -675,6 +676,10 @@ {"name": "Indiancine.ma", "url": "indiancine.ma", "https": true}, {"name": "Pad.ma", "url": "pad.ma", "https": true} ], + "textRightsLevels": [ + {"name": "Public", "color": [128, 255, 128]}, + {"name": "Private", "color": [255, 128, 128]} + ], "themes": ["oxlight", "oxmedium", "oxdark"], "timelines": [ {"id": "antialias", "title": "Anti-Alias"}, diff --git a/pandora/config.indiancinema.jsonc b/pandora/config.indiancinema.jsonc index f203eed4..852e8ccd 100644 --- a/pandora/config.indiancinema.jsonc +++ b/pandora/config.indiancinema.jsonc @@ -43,6 +43,7 @@ "canManageUsers": {"staff": true, "admin": true}, "canPlayClips": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3}, "canPlayVideo": {"guest": 1, "member": 1, "student": 3, "staff": 3, "admin": 3}, + "canReadText": {"guest": 0, "member": 0, "student": 1, "staff", 1, "admin": 1}, "canRemoveItems": {"staff": true, "admin": true}, "canSeeAccessed": {"student": true, "staff": true, "admin": true}, "canSeeDebugMenu": {"student": true, "staff": true, "admin": true}, @@ -663,7 +664,7 @@ // E-mail address uses by the system (from) "system": "system@indiancine.ma" }, - "folderdepth": 4, + "folderdepth": 4, "https": true, "id": "indiancinema", "name": "Indiancine.ma", @@ -681,6 +682,10 @@ {"name": "Pad.ma", "url": "pad.ma", "https": true}, {"name": "OxDB", "url": "0xdb.org", "https": true} ], + "textRightsLevels": [ + {"name": "Public", "color": [128, 255, 128]}, + {"name": "Private", "color": [255, 128, 128]} + ], "themes": ["oxlight", "oxmedium", "oxdark"], "timelines": [ {"id": "antialias", "title": "Anti-Alias"}, diff --git a/pandora/config.padma.jsonc b/pandora/config.padma.jsonc index 2dc4711c..4b7d8e28 100644 --- a/pandora/config.padma.jsonc +++ b/pandora/config.padma.jsonc @@ -41,6 +41,7 @@ "canManageUsers": {"staff": true, "admin": true}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, + "canReadText": {"guest": 0, "member": 0, "staff", 1, "admin": 1}, "canRemoveItems": {"admin": true}, "canSeeAccessed": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true}, @@ -592,6 +593,10 @@ {"name": "Indiancine.ma", "url": "indiancine.ma", "https": true}, {"name": "OxDB", "url": "0xdb.org", "https": true} ], + "textRightsLevels": [ + {"name": "Public", "color": [128, 255, 128]}, + {"name": "Private", "color": [255, 128, 128]} + ], "themes": ["oxlight", "oxmedium", "oxdark"], "timelines": [ {"id": "antialias", "title": "Anti-Alias"}, diff --git a/pandora/config.pandora.jsonc b/pandora/config.pandora.jsonc index 2999fe76..c85ffa85 100644 --- a/pandora/config.pandora.jsonc +++ b/pandora/config.pandora.jsonc @@ -41,6 +41,7 @@ "canManageUsers": {"staff": true, "admin": true}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, + "canReadText": {"guest": 0, "member": 0, "staff", 1, "admin": 1}, "canRemoveItems": {"admin": true}, "canSeeAccessed": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true}, @@ -513,6 +514,10 @@ {"name": "Pad.ma", "url": "pad.ma", "https": true}, {"name": "Indiancine.ma", "url": "indiancine.ma", "https": true} ], + "textRightsLevels": [ + {"name": "Public", "color": [128, 255, 128]}, + {"name": "Private", "color": [255, 128, 128]} + ], "themes": ["oxlight", "oxmedium", "oxdark"], "timelines": [ {"id": "antialias", "title": "Anti-Alias"},