I want a certain an internal group to see information on all pages in a space. How do I accomplish that? Can I use Site Layouts and set a certain parameter to make sure that it is only the internal group that sees the information.
ConfluenceSpaceInfo.png
May be you can do it by customising the PageLayout
I tried to hack something quickly and it worked...
#set ($userGroups = $userAccessor.getGroupNames($action.authenticatedUser)) #set ($groupToMatch = "confluence-administrators") #foreach ($group in $userGroups) #if($group == $groupToMatch) <p>Hello admin!</p> #end #end
to put in a PageLayout before body (for non documentation theme spaces)
<div id="main-content" class="wiki-content"> $body </div>
But, the code will also work for Confluence space layouts / site layouts
The Public Annoucement Service add-on can do this. It's free too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David, Thanks for the answer. The plugin can set an application level message but not on space level which is what I am looking for, but it is an useful plugin!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.