hide-from

{hide-from}

Plugin: Visibility Plugin

This will only show its contents to a user that matches the users, groups or space-viewability specifications listed.

Usage

{hide-from:users=[user list]|groups=[group list]|spaces=[space list]}
Hidden content.
{hide-from}

Parameters

Name Required Default Description
users
The user(s) to match. E.g. 'bob,marley' will match both bob and marley. May also be the following special usernames:
  • @anonymous - No user is currently logged in
  • @authenticated - Any authenticated user is logged in.
  • @self - The current user.
group(s)
The group(s) to match. E.g. 'confluence-users' will match all logged in users.
space(s)
The space(s) which, if the user has 'view' access, will match. The type of permission the user has to the space can also be specified by putting a ':' followed by the permission type after the space name:
  • view - (default) The user can view the space.
  • edit - The user can edit pages.
  • admin - The user can administer the space.
  • news - The user can post a blog entry.
    Eg. space=MYSPACE,@self:edit requires MYSPACE view access or edit access to the current space (@self).
trim
true
If false, the content will not have any whitespace at the beginning and end removed.
match
any
Specifies the match type:
  • any - (default) If any of the criteria are met, the conditions match.
  • all - If all of the criteria are met, the conditions match.

See Also

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.