config: add capabilities.canReadText and textRightsLevels

This commit is contained in:
rolux 2013-02-28 12:13:52 +00:00
parent fe0c2e5329
commit 5c2b51b9d4
4 changed files with 21 additions and 1 deletions

View file

@ -43,6 +43,7 @@
"canManageUsers": {"staff": true, "admin": true}, "canManageUsers": {"staff": true, "admin": true},
"canPlayClips": {"guest": 2, "member": 2, "friend": 4, "staff": 4, "admin": 4}, "canPlayClips": {"guest": 2, "member": 2, "friend": 4, "staff": 4, "admin": 4},
"canPlayVideo": {"guest": 1, "member": 1, "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}, "canRemoveItems": {"admin": true},
"canSeeAccessed": {"staff": true, "admin": true}, "canSeeAccessed": {"staff": true, "admin": true},
"canSeeDebugMenu": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true},
@ -675,6 +676,10 @@
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true}, {"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
{"name": "Pad.ma", "url": "pad.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"], "themes": ["oxlight", "oxmedium", "oxdark"],
"timelines": [ "timelines": [
{"id": "antialias", "title": "Anti-Alias"}, {"id": "antialias", "title": "Anti-Alias"},

View file

@ -43,6 +43,7 @@
"canManageUsers": {"staff": true, "admin": true}, "canManageUsers": {"staff": true, "admin": true},
"canPlayClips": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3}, "canPlayClips": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3},
"canPlayVideo": {"guest": 1, "member": 1, "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}, "canRemoveItems": {"staff": true, "admin": true},
"canSeeAccessed": {"student": true, "staff": true, "admin": true}, "canSeeAccessed": {"student": true, "staff": true, "admin": true},
"canSeeDebugMenu": {"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) // E-mail address uses by the system (from)
"system": "system@indiancine.ma" "system": "system@indiancine.ma"
}, },
"folderdepth": 4, "folderdepth": 4,
"https": true, "https": true,
"id": "indiancinema", "id": "indiancinema",
"name": "Indiancine.ma", "name": "Indiancine.ma",
@ -681,6 +682,10 @@
{"name": "Pad.ma", "url": "pad.ma", "https": true}, {"name": "Pad.ma", "url": "pad.ma", "https": true},
{"name": "OxDB", "url": "0xdb.org", "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"], "themes": ["oxlight", "oxmedium", "oxdark"],
"timelines": [ "timelines": [
{"id": "antialias", "title": "Anti-Alias"}, {"id": "antialias", "title": "Anti-Alias"},

View file

@ -41,6 +41,7 @@
"canManageUsers": {"staff": true, "admin": true}, "canManageUsers": {"staff": true, "admin": true},
"canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
"canPlayVideo": {"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}, "canRemoveItems": {"admin": true},
"canSeeAccessed": {"staff": true, "admin": true}, "canSeeAccessed": {"staff": true, "admin": true},
"canSeeDebugMenu": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true},
@ -592,6 +593,10 @@
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true}, {"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
{"name": "OxDB", "url": "0xdb.org", "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"], "themes": ["oxlight", "oxmedium", "oxdark"],
"timelines": [ "timelines": [
{"id": "antialias", "title": "Anti-Alias"}, {"id": "antialias", "title": "Anti-Alias"},

View file

@ -41,6 +41,7 @@
"canManageUsers": {"staff": true, "admin": true}, "canManageUsers": {"staff": true, "admin": true},
"canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
"canPlayVideo": {"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}, "canRemoveItems": {"admin": true},
"canSeeAccessed": {"staff": true, "admin": true}, "canSeeAccessed": {"staff": true, "admin": true},
"canSeeDebugMenu": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true},
@ -513,6 +514,10 @@
{"name": "Pad.ma", "url": "pad.ma", "https": true}, {"name": "Pad.ma", "url": "pad.ma", "https": true},
{"name": "Indiancine.ma", "url": "indiancine.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"], "themes": ["oxlight", "oxmedium", "oxdark"],
"timelines": [ "timelines": [
{"id": "antialias", "title": "Anti-Alias"}, {"id": "antialias", "title": "Anti-Alias"},