Can I control what anonymous user sees on the Tools menu?

The only options I want an anonymous user to access on the Tools menu are Attachments, Link to this Page..., and View Wiki Markup.

I'd like to completely hide all of the other options.

Is there a way to do this?

Thanks!

4 answers

1 accepted

This widget could not be displayed.
David Simpson Community Champion Jul 31, 2011

Browse to:

Confluence Admin | Look and Feel | Custom HTML 

In At end of the HEAD, add some javascript similar to this:

<script>

if (AJS.$('#login-link').length > 0) {
AJS.$('.ajs-drop-down.most-right-menu-item li').hide();
AJS.$('#view-attachments-link').parent().show();
AJS.$('#link-to-page-link').parent().show();
AJS.$('#action-view-source-link').parent().show();
}
<script>
 
This widget could not be displayed.

You can also edit the template itself. You can find some related info here in this old post:

http://forums.atlassian.com/thread.jspa?messageID=257351387&#257351387.

In that post i outlined how I disabled certain features for anyone other than an admin... you could use the same concept to not show sections for people who arent logged in.

Let me know if you need more info.

This widget could not be displayed.
David Simpson Community Champion Aug 01, 2011
This widget could not be displayed.

Hi

I have confluence 4.2.2 neither of the above seemed to work. Is there a way to do it in 4.2.2

Alex, check that you change the last <script> to </script>

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

155 views 2 4
Join discussion

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