Hide page move

arno May 4, 2023

大家好

我想让用户不能移动confluence页面,除了取消用户的管理权限还有什么办法吗

page.png

  • 我不希望用户看到这张图片中的两个选项

1 answer

0 votes
Sushant Verma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 4, 2023

Hi @arno 

Welcome to the community!

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! 

Hope this will help you!

Regards,
Sushant Verma

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events