How to hide the Space Tools menu for Anonymous Users in Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community

This Knowledge Base article was written specifically for the Atlassian Server platform. Due to the Functional differences in Atlassian Cloud, the contents of this article cannot be applied to Atlassian Cloud applications.


The Space Tools menu allows Space Administrator to manage their Spaces. If you need to disable the Space Tools menu for all anonymous users, you may do so by using JavaScript.


  1. Navigate to Confluence Administration page >> Custom HTML.
  2. Click Edit.
  3. Add the following to At the end of the HEAD section and click Save:

        if (AJS.params.remoteUser == ''){

Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.