forked from 0x2620/pandora
hide times accessed and last accessed from regular users (fixes #741)
This commit is contained in:
parent
af27513332
commit
ab46a85a89
2 changed files with 6 additions and 2 deletions
|
@ -21,7 +21,6 @@
|
||||||
for items of a rights level up to and including x
|
for items of a rights level up to and including x
|
||||||
*/
|
*/
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
// "canClickMap": {"friend": true, "staff": true, "admin": true},
|
|
||||||
"canDeleteItems": {"admin": true},
|
"canDeleteItems": {"admin": true},
|
||||||
"canDownloadVideo": {"guest": -1, "member": -1, "friend": -1, "staff": -1, "admin": -1},
|
"canDownloadVideo": {"guest": -1, "member": -1, "friend": -1, "staff": -1, "admin": -1},
|
||||||
"canEditAnnotations": {"staff": true, "admin": true},
|
"canEditAnnotations": {"staff": true, "admin": true},
|
||||||
|
@ -37,6 +36,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},
|
||||||
|
"canSeeAccessed": {"staff": true, "admin": true},
|
||||||
"canSeeDebugMenu": {"staff": true, "admin": true},
|
"canSeeDebugMenu": {"staff": true, "admin": true},
|
||||||
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
||||||
"canSeeFiles": {"staff": true, "admin": true},
|
"canSeeFiles": {"staff": true, "admin": true},
|
||||||
|
@ -507,6 +507,7 @@
|
||||||
"id": "accessed",
|
"id": "accessed",
|
||||||
"title": "Last Accessed",
|
"title": "Last Accessed",
|
||||||
"type": "date",
|
"type": "date",
|
||||||
|
"capability": "canSeeAccessed",
|
||||||
"columnWidth": 150,
|
"columnWidth": 150,
|
||||||
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
|
||||||
"sort": true
|
"sort": true
|
||||||
|
@ -515,6 +516,7 @@
|
||||||
"id": "timesaccessed",
|
"id": "timesaccessed",
|
||||||
"title": "Times Accessed",
|
"title": "Times Accessed",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
"capability": "canSeeAccessed",
|
||||||
"columnWidth": 60,
|
"columnWidth": 60,
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
for items of a rights level up to and including x
|
for items of a rights level up to and including x
|
||||||
*/
|
*/
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
// "canClickMap": {"friend": true, "staff": true, "admin": true},
|
|
||||||
"canDeleteItems": {"admin": true},
|
"canDeleteItems": {"admin": true},
|
||||||
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||||
"canEditAnnotations": {"staff": true, "admin": true},
|
"canEditAnnotations": {"staff": true, "admin": true},
|
||||||
|
@ -35,6 +34,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},
|
||||||
|
"canSeeAccessed": {"staff": true, "admin": true},
|
||||||
"canSeeDebugMenu": {"staff": true, "admin": true},
|
"canSeeDebugMenu": {"staff": true, "admin": true},
|
||||||
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
||||||
"canSeeFiles": {"staff": true, "admin": true},
|
"canSeeFiles": {"staff": true, "admin": true},
|
||||||
|
@ -428,6 +428,7 @@
|
||||||
"id": "accessed",
|
"id": "accessed",
|
||||||
"title": "Last Accessed",
|
"title": "Last Accessed",
|
||||||
"type": "date",
|
"type": "date",
|
||||||
|
"capability": "canSeeAccessed",
|
||||||
"columnWidth": 90,
|
"columnWidth": 90,
|
||||||
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
|
||||||
"sort": true
|
"sort": true
|
||||||
|
@ -436,6 +437,7 @@
|
||||||
"id": "timesaccessed",
|
"id": "timesaccessed",
|
||||||
"title": "Times Accessed",
|
"title": "Times Accessed",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
"capability": "canSeeAccessed",
|
||||||
"columnWidth": 60,
|
"columnWidth": 60,
|
||||||
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
|
||||||
"sort": true
|
"sort": true
|
||||||
|
|
Loading…
Reference in a new issue