Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Hi,
I think it would be useful adding three simple new tags to the ones provided by Shiro. Recently we used Shiro successfully in a new project but we had to develop some custom tags to meet certain requirements.
hasAllPermissions = Displays the inner body content only if all the specified permissions from a comma-separated list of permission names are granted.
hasAnyPermissions = Displays the inner body content if at least one of the specified permissions from a comma-separated list of permission names are granted.
hasNonePermissions = Displays the inner body content if none of the specified permissions from a comma-separated list of permission names are granted.