Hide space activity

Hi all,

is there a way to hide the space activity (Browse / activity) from certain groups? We don't want everybody to see this. Will it also be hidden if you are on pages (Browse / pages) where the different possibilities are shown as tabs?



3 answers

Hi Bruce,

I'm afraid there isn't a permission option for the Space Activity since it is a plugin that can be disabled by your system administrator.

You may be able to customize Confluence in order to hide this option from certain groups/users, but that would require some level of coding skills. Let's hope someone else with more expertise than me can help you out.


The simplest and easiest way is to hide/remove the contents of the Activity tab (instead of hiding the menu and tab). This can be done using JavaScript. Go to Confluence Admin > Layouts and click Create Custom/Edit on Main Layout. Add the following lines of codes before the closing tag of "head" (i.e. before </head>):

#if ($userAccessor.hasMembership('confluence-users', $helper.action.remoteUser.name))

This will hide the contents of Activity tab from the confluence-users group. Please note that users are still able to see the contents if they view the source of the page

If you want to completely remove the contents of the page, then you'll need to edit the JAR file of the Usage Tracking Plugin. Go to <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup and open atlassian-bundled-plugins.zip. Locate and open usage-tracking-plugin-x.xx.x.jar which is the JAR file of the plugin. The file that you need to look at is located in templates/usage, called report-controls.vm. Please refer to the following documentation for more info:

Hi Amalia,

thanks for your input but unfortunately we are usingthe Documentation Theme. The easy way you described does not work there (which would suffice). Is there an easy way to change this in the theme or does it mean to change the jar files?

Regards, Bruce

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

889 views 45 7
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