...
Document Properties Marker |
---|
|
Doctype | macro | hide |
---|
Name | Hide From Anonymous User | hide |
---|
Short Description | Hides a text fragment from an anonymous user. | |
|
---|
Parent | |
|
---|
Audience | Name List |
---|
doctype | role |
---|
names | Author |
---|
property | Audience |
---|
empty-as-none | false |
---|
|
|
|
---|
Tags | | |
|
---|
Iteration | | |
|
---|
Category | Confluence Content |
|
---|
Since | 1.0 | |
|
---|
projectdoc Toolbox Version | Hide From Anonymous User Macro |
|
---|
Sort Key | | hide |
---|
|
Section |
---|
index | true |
---|
show-title | false |
---|
title | Description |
---|
|
This is a simple macro that will reveal it's body content only to users that have themselves authenticated with the server. If you provide controls for creating new pages from templates, set these controls in the body of the macro. Transclusion |
---|
document | PDAC1:Security Note for Hide Macros |
---|
ids | box |
---|
|
|
|
Section |
---|
|
Section |
---|
| The text to show instead of the hidden text. |
Section |
---|
| If checked, the replacement element is rendered inline, otherwise as a block. Version Box |
---|
| This parameter is supported since version 1.3. |
|
|
Section |
---|
|
ExampleTo hide the Create from Template macro from anonymous users, use the following: Code Block |
---|
language | xml |
---|
title | Example: Hide from Anonymous User with Create From Template Macro |
---|
| <ac:structured-macro ac:name="projectdoc-hide-from-anonymous-user">
<ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:name="create-from-template">
<ac:parameter ac:name="buttonLabel">Create New</ac:parameter>
<ac:parameter ac:name="spaceKey">
<ri:space ri:space-key="MYSPACE"/>
</ac:parameter>
...
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro> |
|
...
Section |
---|
index | true |
---|
title | Related macros |
---|
| Hide From Viewer Macro | 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.).
projectdoc-section |
---|
|
Display Table |
---|
doctype | macro |
---|
render-no-hits-as-blank | true |
---|
select | Name, Short Description |
---|
restrict-to-immediate-children | true |
---|
sort-by | Sort Key, Name |
---|
|
|
...