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
Name | Purpose |
---|---|
role | Required - The role to test for. If the user has this role the body will be rendered |