make debug menu depend on capability; make sure info view doesn't throw errors for movies without H/S/L

This commit is contained in:
rolux 2011-10-14 19:25:29 +00:00
commit 72e831e5b2
3 changed files with 132 additions and 125 deletions

View file

@ -18,6 +18,7 @@
"canPlayClips": {"guest": 1, "member": 2, "friend": 3, "staff": 4, "admin": 4},
"canPlayVideo": {"guest": 0, "member": 1, "friend": 3, "staff": 4, "admin": 4},
"canReloadMetadata": {"staff": true, "admin": true},
"canSeeDebugMenu": {"admin": true},
"canSeeFiles": {"staff": true, "admin": true},
"canSeeItem": {"guest": 2, "member": 2, "friend": 3, "staff": 4, "admin": 4},
"canSeeExtraItemViews": {"friend": true, "staff": true, "admin": true}