Hello Community,
I find how to disable the download function globally in this post, but I have further needs:
1.How to disable attachments download in specific space
2.It would be better if the download function of some users or user groups can be disabled in this specific space. We need other users to still be able to download, such as space administrators.
Version: Confluence DC 6.15.9
Looking forward to your help ^_^
I tried the download button in "Preview", it can be disabled directly through Space Page Layout, but if the attachment list is still there after the user enters through More-->Attachments, the user can directly save it locally. How do I disable it here?
Finally we hide this button by the following way
<Space Tools--Look and feel--Layout--Content Layouts---Main Layout>
#if ($userAccessor.hasMembership('confluence-administrators', $helper.action.remoteUser.name))
#else
<script type="text/javascript">
AJS.toInit(function(){
AJS.$('#view-attachments-link').hide();
});
</script>
#end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
More modifications to this scene, I recorded in this article, I hope it will be helpful to you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.