Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use the Hide If macro to hide specific content from only specific users

...

.

This would be useful

...

when you have a lot of content on the page and

...

want to

...

ensure the right people get to see the information they need while not unnecessarily confusing others

...

.

Note

Though

...

helpful in preventing certain content from being seen by

...

specific users,

...

this macro is not a comprehensive security solution

...

. The user may be able to view the content easily via other means, such as editing the page.
Be aware that content is only hidden in the Confluence page view

...

and

...

is still available when editing a page, viewing page history, email notifications, etc. In addition, other macros, such as Table of Contents (a standard Atlassian macro), can still retrieve the information inside the Show-if/Hide-if macro.

To truly secure sensitive information,

...

use the Security & Encryption app instead. 

Ingredients

Apps

Visibility for Confluence Server

Macros

Hide If

...

Steps

  1. Create a Hide If macro on your page.

  2. When the Insert 'Hide If' macro dialog box appears, choose the user(s) or group(s) you intend to target and click Insert.

    Image Added
  3. Within the macro, enter the content you want to hide from the user(s).

...


  1. Image Added
  2. When you save the page, the user(s)

...

  1. cannot see the hidden content, but everyone else will.

...


  1. Image Added