Hide Confluence buttons

Clarisse Messey December 11, 2013

We hide the "Tools" button but we did it for each user. Is it possible to hide a button for a group?

1 answer

1 accepted

0 votes
Answer accepted
jing_hwa_cheok
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 1, 2014

Hi Clarisse,


You can put the code below before the <head> tage in your Confluence Admin >> Layout >> Main Layout. Replace the <group-name> with the name of the group you wish to hide the tool.

#if ($userAccessor.hasMembership('&lt;group-name&gt;', $helper.action.remoteUser.name))
&lt;style type="text/css"&gt;
  #action-menu-link {
        display:none !important;
    }
&lt;/style&gt;
#end

Please note, this only work if you are using the default theme.


Hope this helps!

Regards,
Jing Hwa

m.w June 10, 2014

Hi,

Is there a way for this to work for the Documentation Theme aswell?

Thanks for any help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events