update indiancinema config (capabilities, layers, rights levels)

This commit is contained in:
rolux 2013-02-19 21:14:53 +05:30
parent f3d94b69ec
commit 289994b0fb

View file

@ -41,13 +41,13 @@
"canManagePlacesAndEvents": {"student": true, "staff": true, "admin": true}, "canManagePlacesAndEvents": {"student": true, "staff": true, "admin": true},
"canManageTitlesAndNames": {"student": true, "staff": true, "admin": true}, "canManageTitlesAndNames": {"student": true, "staff": true, "admin": true},
"canManageUsers": {"staff": true, "admin": true}, "canManageUsers": {"staff": true, "admin": true},
"canPlayClips": {"guest": 2, "member": 2, "student": 4, "staff": 4, "admin": 4}, "canPlayClips": {"guest": 1, "member": 1, "student": 3, "staff": 3, "admin": 3},
"canPlayVideo": {"guest": 1, "member": 1, "student": 4, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "student": 3, "staff": 3, "admin": 3},
"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},
"canSeeExtraItemViews": {"student": true, "staff": true, "admin": true}, "canSeeExtraItemViews": {"student": true, "staff": true, "admin": true},
"canSeeFiles": {"student": true, "staff": true, "admin": true}, "canSeeFiles": {"student": true, "staff": true, "admin": true},
"canSeeItem": {"guest": 3, "member": 3, "student": 4, "staff": 4, "admin": 4}, "canSeeItem": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3},
"canSeeSize": {"student": true, "staff": true, "admin": true}, "canSeeSize": {"student": true, "staff": true, "admin": true},
"canSeeSoftwareVersion": {"student": true, "staff": true, "admin": true}, "canSeeSoftwareVersion": {"student": true, "staff": true, "admin": true},
"canSendMail": {"staff": true, "admin": true}, "canSendMail": {"staff": true, "admin": true},
@ -587,45 +587,22 @@
// fixme: should be renamed to annotationLayers // fixme: should be renamed to annotationLayers
"layers": [ "layers": [
{ {
"id": "publickeywords", "id": "keywords",
"title": "Public Keywords", "title": "Keywords",
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true}, "canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
"item": "Public Keyword", "hasEvents": true,
"hasPlaces": true,
"item": "Keyword",
"overlap": true, "overlap": true,
"type": "string" "type": "string"
}, },
{ {
"id": "pirvatekeywords", "id": "notes",
"title": "Private Keywords", "title": "Notes",
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true}, "canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
"item": "Private Keyword", "hasEvents": true,
"overlap": true, "hasPlaces": true,
"type": "string" "item": "Note",
},
{
"id": "publicnotes",
"title": "Public Notes",
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
"item": "Public Note",
"overlap": true,
"showInfo": true,
"type": "text"
},
{
"id": "privatenotes",
"title": "Private Notes",
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
"item": "Private Note",
"overlap": true,
"private": true,
"showInfo": true,
"type": "text"
},
{
"id": "publicnotes",
"title": "Public Notes",
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
"item": "Public Note",
"overlap": true, "overlap": true,
"showInfo": true, "showInfo": true,
"type": "text" "type": "text"
@ -633,7 +610,7 @@
{ {
"id": "subtitles", "id": "subtitles",
"title": "Subtitles", "title": "Subtitles",
"canAddAnnotations": {"staff": true, "admin": true}, "canAddAnnotations": {"student": true, "staff": true, "admin": true},
"hasEvents": true, "hasEvents": true,
"hasPlaces": true, "hasPlaces": true,
"isSubtitles": true, "isSubtitles": true,
@ -658,12 +635,11 @@
{"title": "Favorites"}, {"title": "Favorites"},
{"title": "Silent Films", "query": {"conditions": [{"key": "language", "value": "None", "operator": "=="}], "operator": "&"}} {"title": "Silent Films", "query": {"conditions": [{"key": "language", "value": "None", "operator": "=="}], "operator": "&"}}
], ],
"rightsLevel": {"member": 4, "staff": 3, "admin": 2}, "rightsLevel": {"member": 3, "student": 3, "staff": 3, "admin": 3},
"rightsLevels": [ "rightsLevels": [
{"name": "Public", "color": [128, 255, 128]}, {"name": "Public", "color": [128, 255, 128]},
{"name": "Relaxed", "color": [192, 255, 128]}, {"name": "Out of Copyright", "color": [255, 255, 128]},
{"name": "Regular", "color": [255, 255, 128]}, {"name": "Under Copyright", "color": [255, 192, 128]},
{"name": "Restricted", "color": [255, 192, 128]},
{"name": "Private", "color": [255, 128, 128]} {"name": "Private", "color": [255, 128, 128]}
], ],
"sendReferrer": false, "sendReferrer": false,