Checks for all permissions and includes the body if the user has the correct permissions for the given operation.

This operation is still very basic, but will be expanded in the future.

Available permissions are:

  • edit: If the user may edit the current page. If the current page is not editable for some reason (for instance, it is an older version, the user is not considered to have edit permission.

Usage

<wiki:Permission permission="<permission>">
    HTML or JSP code
</wiki:Permission>

Parameters

permission
The permission to request for. See above for possible values.

Example

<wiki:Permission permission="edit">
    <wiki:EditLink>Edit this page</wiki:EditLink>
</wiki:Permission>

Displays the "Edit this page"-link only if the user has permission to edit the page.


CategoryOfficialDocumentation

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-5) was last changed on 24-Sep-2007 16:50 by 66.194.222.222 [RSS]