Versions Compared

Key

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

...

You are able to use the Show If macro to show content to only specific users you choose.

For example, if you are a Lead managing several teams, and you want to share the same page to everyone in your teams, but want to show only specific content to each team, the Show If macro would come in very handy in this situation.

Note

Be aware that content is only hidden in the Confluence page view, and that the content 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, consider using the Security & Encryption app instead. 

Ingredients

Apps

Visibility

Macros

Show if

Guide

  1. Create a Show If macro on your page.

  2. In the Insert Show If dialog box, decide whether to filter your users using the following parameters: Match UsingUsers, or User Groups.

    Image Added

    After, choosing which users you want to filter, click Insert.

  3. Within the macro, enter the content you want to share.
    For example:

    Image Added

    When you're done, save the editor.

  4. The page will now only show the content you placed within the Show If macro to the users you specified:

...

  1. Image Added

 Notes

  • Not applicable.

Result

  • Not applicable.

...