diff --git a/pandora/0xdb.jsonc b/pandora/0xdb.jsonc index c5b8ec3d..f37a0c65 100644 --- a/pandora/0xdb.jsonc +++ b/pandora/0xdb.jsonc @@ -31,6 +31,7 @@ "canEditPlaces": {"staff": true, "admin": true}, "canEditSitePages": {"staff": true, "admin": true}, "canEditUsers": {"admin": true}, + "canImportAnnotations": {"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}, "canSeeDebugMenu": {"staff": true, "admin": true}, diff --git a/pandora/padma.jsonc b/pandora/padma.jsonc index 3836d1ad..c3a2622c 100644 --- a/pandora/padma.jsonc +++ b/pandora/padma.jsonc @@ -29,6 +29,7 @@ "canEditPlaces": {"staff": true, "admin": true}, "canEditSitePages": {"staff": true, "admin": true}, "canEditUsers": {"admin": true}, + "canImportAnnotations": {"staff": true, "admin": true}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canSeeDebugMenu": {"staff": true, "admin": true}, diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index f8089e9b..3facf4b0 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -241,6 +241,7 @@ pandora.ui.item = function() { cuts: result.data.cuts || [], duration: result.data.duration, enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= result.data.rightslevel, + enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level], enableSubtitles: pandora.user.ui.videoSubtitles, find: pandora.user.ui.itemFind, getFrameURL: function(position) {