forked from 0x2620/pandora
config: add itemRequiresVideo and capabilities.canAddItems, rename capabilities.canDeleteItems to capabilities.canRemoveItems, update indiancinema config
This commit is contained in:
parent
d70a2e8e1b
commit
6ca9d97575
4 changed files with 36 additions and 32 deletions
|
@ -26,7 +26,7 @@
|
|||
for items of a rights level up to and including x
|
||||
*/
|
||||
"capabilities": {
|
||||
"canDeleteItems": {"admin": true},
|
||||
"canAddItems": {"staff": true, "admin": true},
|
||||
"canDownloadVideo": {"guest": -1, "member": -1, "friend": -1, "staff": -1, "admin": -1},
|
||||
"canEditAnnotations": {"staff": true, "admin": true},
|
||||
"canEditEvents": {"staff": true, "admin": true},
|
||||
|
@ -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},
|
||||
"canRemoveItems": {"admin": true},
|
||||
"canSeeAccessed": {"staff": true, "admin": true},
|
||||
"canSeeDebugMenu": {"staff": true, "admin": true},
|
||||
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
||||
|
@ -50,8 +51,7 @@
|
|||
"canSeeItem": {"guest": 3, "member": 3, "friend": 4, "staff": 4, "admin": 4},
|
||||
"canSeeSize": {"friend": true, "staff": true, "admin": true},
|
||||
"canSeeSoftwareVersion": {"staff": true, "admin": true},
|
||||
"canSendMail": {"staff": true, "admin": true},
|
||||
"canUploadVideo": {"guest": false, "member": false, "staff": true, "admin": true}
|
||||
"canSendMail": {"staff": true, "admin": true}
|
||||
},
|
||||
/*
|
||||
clipKeys are the properties that clips can by sorted by.
|
||||
|
@ -569,6 +569,7 @@
|
|||
"singular": "Movie",
|
||||
"plural": "Movies"
|
||||
},
|
||||
"itemRequiresVideo": true,
|
||||
"itemViews": [
|
||||
{"id": "info", "title": "Info"},
|
||||
{"id": "player", "title": "Player"},
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
for items of a rights level up to and including x
|
||||
*/
|
||||
"capabilities": {
|
||||
"canDeleteItems": {"admin": true},
|
||||
"canAddItems": {"student": true, "staff": true, "admin": true}
|
||||
"canDownloadVideo": {"guest": -1, "member": -1, "student": -1, "staff": -1, "admin": -1},
|
||||
"canEditAnnotations": {"staff": true, "admin": true},
|
||||
"canEditEvents": {"student": true, "staff": true, "admin": true},
|
||||
|
@ -43,6 +43,7 @@
|
|||
"canManageUsers": {"staff": true, "admin": true},
|
||||
"canPlayClips": {"guest": 1, "member": 1, "student": 3, "staff": 3, "admin": 3},
|
||||
"canPlayVideo": {"guest": 1, "member": 1, "student": 3, "staff": 3, "admin": 3},
|
||||
"canRemoveItems": {"staff": true, "admin": true},
|
||||
"canSeeAccessed": {"student": true, "staff": true, "admin": true},
|
||||
"canSeeDebugMenu": {"student": true, "staff": true, "admin": true},
|
||||
"canSeeExtraItemViews": {"student": true, "staff": true, "admin": true},
|
||||
|
@ -50,8 +51,7 @@
|
|||
"canSeeItem": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3},
|
||||
"canSeeSize": {"student": true, "staff": true, "admin": true},
|
||||
"canSeeSoftwareVersion": {"student": true, "staff": true, "admin": true},
|
||||
"canSendMail": {"staff": true, "admin": true},
|
||||
"canUploadVideo": {"guest": false, "member": false, "student": true, "staff": true, "admin": true}
|
||||
"canSendMail": {"staff": true, "admin": true}
|
||||
},
|
||||
/*
|
||||
clipKeys are the properties that clips can by sorted by.
|
||||
|
@ -192,7 +192,7 @@
|
|||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "productioncompany",
|
||||
"id": "productionCompany",
|
||||
"title": "Studio",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
|
@ -202,17 +202,6 @@
|
|||
"sort": true,
|
||||
"sortType": "person"
|
||||
},
|
||||
{
|
||||
"id": "writer",
|
||||
"title": "Writer",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
"columnWidth": 180,
|
||||
"filter": true,
|
||||
"find": true,
|
||||
"sort": true,
|
||||
"sortType": "person"
|
||||
},
|
||||
{
|
||||
"id": "producer",
|
||||
"title": "Producer",
|
||||
|
@ -224,6 +213,17 @@
|
|||
"sort": true,
|
||||
"sortType": "person"
|
||||
},
|
||||
{
|
||||
"id": "writer",
|
||||
"title": "Writer",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
"columnWidth": 180,
|
||||
"filter": true,
|
||||
"find": true,
|
||||
"sort": true,
|
||||
"sortType": "person"
|
||||
},
|
||||
{
|
||||
"id": "cinematographer",
|
||||
"title": "Cinematographer",
|
||||
|
@ -263,14 +263,6 @@
|
|||
"sort": true,
|
||||
"value": {"key": "actor", "type": "length"}
|
||||
},
|
||||
{
|
||||
"id": "character",
|
||||
"title": "Character",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
"find": true,
|
||||
"sortType": "string"
|
||||
},
|
||||
{
|
||||
"id": "name",
|
||||
"title": "Name",
|
||||
|
@ -283,6 +275,14 @@
|
|||
"title": "TV Series",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"id": "keyword",
|
||||
"title": "Keyword",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
"filter": true,
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
"id": "summary",
|
||||
"title": "Summary",
|
||||
|
@ -579,6 +579,7 @@
|
|||
"singular": "Movie",
|
||||
"plural": "Movies"
|
||||
},
|
||||
"itemRequiresVideo": false,
|
||||
"itemViews": [
|
||||
{"id": "info", "title": "Info"},
|
||||
{"id": "player", "title": "Player"},
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
for items of a rights level up to and including x
|
||||
*/
|
||||
"capabilities": {
|
||||
"canDeleteItems": {"admin": true},
|
||||
"canAddItems": {"member": true, "staff": true, "admin": true},
|
||||
"canDownloadVideo": {"guest": 0, "member": 0, "staff": 4, "admin": 4},
|
||||
"canEditAnnotations": {"staff": true, "admin": true},
|
||||
"canEditEvents": {"staff": true, "admin": true},
|
||||
|
@ -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},
|
||||
"canRemoveItems": {"admin": true},
|
||||
"canSeeAccessed": {"staff": true, "admin": true},
|
||||
"canSeeDebugMenu": {"staff": true, "admin": true},
|
||||
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
||||
|
@ -48,8 +49,7 @@
|
|||
"canSeeItem": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||
"canSeeSize": {"staff": true, "admin": true},
|
||||
"canSeeSoftwareVersion": {"staff": true, "admin": true},
|
||||
"canSendMail": {"staff": true, "admin": true},
|
||||
"canUploadVideo": {"guest": false, "member": true, "staff": true, "admin": true}
|
||||
"canSendMail": {"staff": true, "admin": true}
|
||||
},
|
||||
/*
|
||||
clipKeys are the properties that clips can by sorted by.
|
||||
|
@ -486,6 +486,7 @@
|
|||
"singular": "Video",
|
||||
"plural": "Videos"
|
||||
},
|
||||
"itemRequiresVideo": true,
|
||||
"itemViews": [
|
||||
{"id": "info", "title": "Info"},
|
||||
{"id": "player", "title": "Player"},
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
for items of a rights level up to and including x
|
||||
*/
|
||||
"capabilities": {
|
||||
"canDeleteItems": {"admin": true},
|
||||
"canAddItems": {"member": true, "staff": true, "admin": true},
|
||||
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||
"canEditAnnotations": {"staff": true, "admin": true},
|
||||
"canEditEvents": {"staff": true, "admin": true},
|
||||
|
@ -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},
|
||||
"canRemoveItems": {"admin": true},
|
||||
"canSeeAccessed": {"staff": true, "admin": true},
|
||||
"canSeeDebugMenu": {"staff": true, "admin": true},
|
||||
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
||||
|
@ -48,8 +49,7 @@
|
|||
"canSeeItem": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||
"canSeeSize": {"staff": true, "admin": true},
|
||||
"canSeeSoftwareVersion": {"staff": true, "admin": true},
|
||||
"canSendMail": {"staff": true, "admin": true},
|
||||
"canUploadVideo": {"guest": false, "member": true, "staff": true, "admin": true}
|
||||
"canSendMail": {"staff": true, "admin": true}
|
||||
},
|
||||
/*
|
||||
clipKeys are the properties that clips can by sorted by.
|
||||
|
@ -409,6 +409,7 @@
|
|||
"singular": "Video",
|
||||
"plural": "Videos"
|
||||
},
|
||||
"itemRequiresVideo": true,
|
||||
"itemViews": [
|
||||
{"id": "info", "title": "Info"},
|
||||
{"id": "player", "title": "Player"},
|
||||
|
|
Loading…
Reference in a new issue