Confluence 5.6: Hide Page Information under Tools

Hello,

I'd like to hide the Page Information option under Tools from Anonymous users. Does anyone know how to do that?

Thanks!

3 answers

Thanks for the quick response. I actually found those two pages during my initial search for an answer. But I am specifically looking to hide Page Information. I don't want to hide the Tools menu entirely since it contains options that I want anonymous users to have access to. I'm wondering if there is a way to hide options within the Tools menu.

Hi,

In that case then you just need to find the ID of the specific item in the tools menu you want to hide.

Example:

 AJS.toInit(function(){
        if (AJS.params.remoteUser == ''){
                       //attachments link
            AJS.$('#view-attachments-link').hide();
                      //page history link
           AJS.$('#action-view-history-link').hide();
                       etc..
        }
 });

If you are using chrome, just highlight the link, right click and select "Inspect Element" to find the ID of that specific link. When you have the ID just add it to the list of things being hidden inside the if statement above.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 4 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

35 views 3 3
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you