Versions Compared

Key

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

...

Document Properties Marker
overridefalse


Doctypemacrohide
NameHide From Reader
Short DescriptionHides a page fragment from a user with read-only permissions.
Parent
Parent Property
property-nameName

Audience
Name List
doctyperole
render-no-hits-as-blanktrue
render-list-as-comma-separated-valuestrue
namesAuthor, Template Author
propertyAudience

Categories
Name List
doctypecategory
render-no-hits-as-blanktrue
namesHide
propertyAudience
hide
Tags

Tag List
namesDocument Structure, Hide


Type

Name List
doctypemacro-type
namesContent Organization


Iteration
Iteration
valueproduction
hide
Sort Keyhide



Section
indextrue
show-titlefalse
titleDescription

This is a simple macro that will reveal it's body content only to users that have permissions to write.

If you provide controls for creating new pages from templates, set these controls in the body of the macro.

Transclusion
documentSecurity Note for Hide Macros
idsbox


...

Section
titleDetails

Example

To hide the Create from Template macro from users with read-only permissions, use the following:

Code Block
languagexml
titleExample: Hide from Anonymous User with Create From Template Macro
<ac:structured-macro ac:name="projectdoc-hide-from-reader">
  <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
indextrue
titleRelated macros


Section
titleHide Macros

Macros whose main concern is to hide content.

Display Table
doctypemacro
where$<Tags>=[Hide]
header-translationsName=Macro


Section
titleContent Macros

Macros that allow their content to be hidden.

projectdoc-tour-macro
header-translationsTitle=Macro


TitleShort Description
Content Marker Macro
Section Macro




projectdoc-section
titleFree Macro

There is a non-commercial version of this macro for commercial use: Hide From Anonymous User Macro.



Section
indextrue
titleRelated macros

Macros that hide page elements for convenience of the user:

Display Table
doctypemacro
render-no-hits-as-blanktrue
render-modedefinition
selectName, Short Description
sort-bySort Key, Name
where(Tags = "Hide" OR Categories = "Hide")
exclude-selftrue

Content Marker
hidetrue

Non-Commercial Version

There is a non-commercial version of this plugin for commercial use: Hide From Anonymous User Macro.




Section
indextrue
titleSub-Macros
Display Table
doctypemacro
render-no-hits-as-blanktrue
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...

Section
titleReferences


Section
titleResources


Piwik Set Multiple Custom Variables


NameValue
Departmentprojectdoc
Categoryprojectdoc-macro
Typedocument