Versions Compared

Key

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

...

Document Properties Marker
overridefalse


Short DescriptionSwitch views on documents dependent on the user's role by setting space properties in the user's homepage. 
Doctypetopichide
NameViews on Documents 
Parent
Parent Property
property-nameName
hide
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
namesAuthor
propertyAudience
 
Level of Experience
Name List
doctypeexperience-level
render-no-hits-as-blanktrue
namesNovice
propertyLevel of Experience
 
Expected Duration 
Subject
Name List
doctypesubject
propertySubject
 
Categories
Name List
doctypecategory
propertyCategories
 
Tags
Tag List
propertyTags
 
Iteration
Iteration
valuefinished
hide
Type
Name List
doctypetopic-type
render-no-hits-as-blanktrue
propertyType
 
Sort Keyhide



Section
show-titlefalse
titleDescription

Document authors have access to more information on a document.

Authors usually want to check how users will perceive the document. To switch between roles projectdoc provides space properties that are defined on the user's homepage.

This document describes how document author may switch between the author's, the reader's and a printer's view.

...

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.


...

Section
required-permissionswrite-access
titleNotes


  • Section
    titleReferences
    jira 
    serversmartics JIRA
    serverId79ad43bc-d289-364e-bfc7-46c09847bebd
    keyPDAC-464
    Jira
    serversmartics JIRA
    serverId79ad43bc-d289-364e-bfc7-46c09847bebd
    keyPDAC-465


    Resources
    Section
    titleResources


    Tour
    render-as-definition-listtrue
    replace-title-with-nametrue


    TitleShort Description
    Being a Pretender
    Section
    title