diff --git a/config.jsonc b/config.jsonc index 3f32ee5..20e8cc0 100644 --- a/config.jsonc +++ b/config.jsonc @@ -73,7 +73,7 @@ "canSeeDebugMenu": {"staff": true, "admin": true}, "canSeeExtraItemViews": {"staff": true, "admin": true}, "canSeeMedia": {"staff": true, "admin": true}, - "canSeeDocument": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, + "canSeeDocument": {"guest": 0, "member": 1, "staff": 4, "admin": 4}, "canSeeItem": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canSeeSize": {"staff": true, "admin": true}, "canSeeSoftwareVersion": {"staff": true, "admin": true}, diff --git a/static/js/documentInfoView.amp.js b/static/js/documentInfoView.amp.js index 00d5a7a..4b7951d 100644 --- a/static/js/documentInfoView.amp.js +++ b/static/js/documentInfoView.amp.js @@ -493,6 +493,58 @@ pandora.ui.documentInfoView = function(data, isMixed) { .appendTo($statistics); renderRightsLevel(); + // User and Groups --------------------------------------------------------- + if (!isMultiple) { + + ['user', 'groups'].forEach(function(key) { + var $input; + (canEdit || data[key] && data[key].length) && $('