Skip to end of metadata
Go to start of metadata

{secure-include}

Plugin Version: from version

This macro makes it possible to include a page from another space which may be inaccessible to all viewers of the current space.

Description

It does not allow arbitrary including of pages from other spaces. The only users who can include a page from a secure space are those who already have view access into the other space. If that user's access is later revoked, the include ceases to function.

So, when is this useful? The main case I have come across is when there is a page inside a secured space which is of interest to a wider audience. It may be argued that the page should be moved elsewhere, but in some cases this isn't practical, or even possible. Alternately, the content could be copy-n-pasted into a page in a more 'open' space. however, then it will become out-of-date over time.

Usage

Wiki Markup

{secure-include:id=[unique id]}

Parameters

Name

Required

Default

Description

id

The id which is unique to the current page. This allows multiple includes on a single page. It does not have to be related to the page being included.

Labels