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

This widget could not be displayed.
This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

107 views 12 6
Read article

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