Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
JSPWikiTags




JSPWiki v2.2.33

[RSS]


Hide Menu

PermissionTag


Difference between current version and current version:

At line 1 added 28 lines.
Checks for 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.

Back to PermissionTag, or to the Page History.