How to hide Move and Copy menu for pages
要約
Some customers may want to prevent Move or Copy options for pages, but there is no separate permission to disable those specific functions.
環境
7.0.2
ソリューション
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!
最終更新日: 2021 年 10 月 4 日
Powered by Confluence and Scroll Viewport.