(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

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

Attributes

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