Versions Compared

Key

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

...

Section
titlePretending a Role

projectdoc provides the space property called pretend-being-a Pretend Being A to be set on the homepage of a user to assume a given role. This is just a convenient method to signal to feign a reader's or printer's role in order to render a page according to their privileges. It does not touch the user's privileges, it is just a way around the checking of privileges. An author assumes a role with less privileges than she actually has.

Section
level2
titlePretend being a Reader

To set the space property add the Document Properties Marker Macro to your homepage within the Confluence wiki. Add the following line:

Once the property is set, projectdoc assumes that the author is now a user without write privileges and therefore suppresses the rendering of sections or transclusion boxes.


Section
level2
titlePretend being a Printer

Printing is a sub use case of reading. It allows to add additional print-quirk-modes Print Quirk Modes to tweak the print process for some exporters.

In case that the output does have some quirks you may want to try one of those modes.


...