Version 1.1 by Normann P. Nielsen on 2026/11/15 15:43

Hide last authors
Normann P. Nielsen 1.1 1 {{success}}It seems that the Visibility plugin behavior can be achived using standard objects, see [[https://confluence.atlassian.com/display/CONFKB/How+to+Display+Different+Appearance+for+Different+Users+Using+Confluence+Layouts]]{{/success}}
2
3 {{error}}This Macro should not be used or considered as a security macro.{{/error}}
4
5 = In the Rich Text Editor (RTE) =
6
7 Typically, this is the outer Macro, nesting others inside. This sample renders som extra CSS and shows the JIRA macro only to members of "sales-users":
8
9 [[image:ShowIfMacroSample.jpg||alt="ShowIfMacroSample.jpg"]]
10
11 = In the Layout(s) for Global, Page, Blog post etc.. =
12
13 Here, another Macro called short-links is only rendered, if the user is member of "sales-users":
14
15
16 {{code}}
17 $helper.renderConfluenceMacro("{show-if:match=all|group=sales-users}{short-links}{show-if}")
18 {{/code}}
19
20 Here, the recently-updated macro is only shown to members of "operation-users":
21
22
23 {{code}}
24 $helper.renderConfluenceMacro("{show-if:match=all|group=operation-users}{recently-updated:netic|showProfilePic=true|types=blogpost|max=15|theme=sidebar}{show-if}")
25 {{/code}}