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
<s:ifPermitted role="ADMIN"> Welcome admin! </s:ifPermitted>
Attributes
Name | Purpose |
---|---|
role | Required - The role to test for. If the user has this role the body will be rendered |