Security Tags
<cfimport taglib="farcry.core.tags.security" prefix="sec" />
sec:CheckPermission
This tag checks the specified permissions for the current user. If the permission is not granted, the enclosed code is not executed.
Attribute | Description | Default |
|---|---|---|
permission | The name or objectid of the permission to check | required |
object | The objectid of the object to check the permission against | None - only used for item specific permissions such as dmNavigation View |
error | Set to true if you want an error displayed if permission is denied | false |
errormessage | The error message | ... |