diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index dd86d61c..36a58916 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -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"}, diff --git a/pandora/config.indiancinema.jsonc b/pandora/config.indiancinema.jsonc index c5c98132..bf34342f 100644 --- a/pandora/config.indiancinema.jsonc +++ b/pandora/config.indiancinema.jsonc @@ -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"}, diff --git a/pandora/config.padma.jsonc b/pandora/config.padma.jsonc index 67fef8db..2dc4711c 100644 --- a/pandora/config.padma.jsonc +++ b/pandora/config.padma.jsonc @@ -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"}, diff --git a/pandora/config.pandora.jsonc b/pandora/config.pandora.jsonc index ce0915d6..2999fe76 100644 --- a/pandora/config.pandora.jsonc +++ b/pandora/config.pandora.jsonc @@ -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"},