(Quick Reference)

s:ifNotPermitted

Purpose

Renders the body of the tag only if the user permissions are not met.

This uses the underlying security provider to test the condition.

Example

<s:ifNotPermitted role="ADMIN">
   Sorry you can't do this
</s:ifNotPermitted>

Attributes

NamePurpose
roleRequired - The role to test for. If the user does not have this role the body will be rendered