(Quick Reference)

s:ifPermitted

Purpose

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

This uses the underlying security provider to test the condition.

Example

{docx:xml} <s:ifPermitted role="ADMIN"> Welcome admin! </s:ifPermitted> {docx}

Attributes

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