Child pages
  • Hide From Viewer Macro

 

Hides a text fragment from a user that has no edit permissions.

Audience
Iteration
Production
Category
Confluence Content
Since
1.0
projectdoc Toolbox Version

Hides a text fragment from a user that has no edit permissions. This helps to remove clutter from the document that would distract the attention of the reader.

The Content is not secure!

 

Please note that this is only a convenience for the user. The content of the box is for example still indexed by Lucene or will be displayed, e.g. if the user has access to the page's source code or there is a preview function on a page.

Therefore do not add confidential information!

The hiding mechanism is therefore to be considered on the same level as hiding HTML fragments by means of CSS or client-side JavaScript. The user has access to the information.

Especially do not use this macro for property values with the Document Properties Marker Macro! Use this macro in document bodies only.

Note on using confidential information: If allowed by your information policy, put confidential information on a separate page (using page restrictions to control access) and use the Transclusion Macro to render it on a page.

Properties

Replacement

The text to show instead of the hidden text.


Related Macros


projectdoc Toolbox

The Hide From Viewer Macro is part of the commercial The projectdoc Toolbox for Atlassian Confluence plugin. It hides the text from users that do not have write access to a page. With this macro, authors and therefore most team members, are able to share information not to be shown to readers.

This is not a security tool! The information is still stored in plain text on the server (as this is true for the Hide From Anonymous User macro). The content is simply not rendered for the users lacking access permissions. But it will eventually be displayed for users who try to reveal it (e.g. through searches, previews, source code, history, etc.).