How to hide Move and Copy menu for pages
Summary
Some customers may want to prevent Move or Copy options for pages, but there is no separate permission to disable those specific functions.
Environment
7.0.2
Solution
As a workaround, we can hide the Move and Copy menus with below Javascript in General Configuration > Custom HTML, and the end of BODY section:
<script type='text/javascript'>
AJS.toInit(function(){
if (! AJS.params.isConfluenceAdmin) {
AJS.$('#action-copy-page-link').hide();
AJS.$('#action-move-page-dialog-link').hide();
}
});
</script>
The above code hides those menus for all the users except for Confluence Administrators. The changes will be applied immediately!
Last modified on Oct 4, 2021
Powered by Confluence and Scroll Viewport.