security
security
Prefix | security |
Library path | /tags/security |
CFImport |
|
<security:CheckInheritedPermission ...>
Attributes
Name | Type | Required | Default | Options | Description |
PermissionName | string | No | | | |
UserName | string | No | | | |
<security:checkLoggedIn ...>
Forces the user to login
Attributes
Name | Type | Required | Default | Options | Description |
lRoles | string | No | | | A list of roles the current user must have assigned. |
lPermissions | string | No | | | A list of permissions the current user must have assigned. |
message | string | No | | | A message that will be passed to the login if the security is not met. |
url | string | No | | | |
href | string | No | #attributes.url# | | the actual href to link to. Defaults to attributes.url |
alias | string | No | | | Navigation alias to use to find the objectid |
objectid | string | No | | | Added to url parameters; navigation obj id |
type | string | No | | | Added to url parameters: Typename used with type webskin views |
view | string | No | | | Added to url parameters: Webskin name used with type webskin views |
bodyView | string | No | | | Added to url parameters: Webskin name used with type webskin views |
externallink | string | No | | | |
stParameters | string | No | #StructNew()# | | |
urlParameters | string | No | | | |
includeDomain | string | No | false | | |
Domain | string | No | #cgi.http_host# | | |
addToken | string | No | false | | |
ampDelim | string | No | & | | |
loginurl | string | No | | | |
<security:CheckPermission ...>
Permission check of the four types of permission (webskin, object, type, general), i.e. will permit if any of the specified permissions are granted
Attributes
Name | Type | Required | Default | Options | Description |
permission | string | No | | | |
roles | string | No | | | |
typepermission | string | No | | | |
type | string | No | | | |
generalpermission | string | No | | | |
objectpermission | string | No | | | |
objectID | string | No | | | |
webskinpermission | string | No | | | |
require | string | No | all | | |
error | string | No | false | | |
errormessage | string | No | You don't have permission to view this page. | | |
result | string | No | | | Set to a variable name to output result. Defaults to nothing. |
<security:checkRole ...>
Pass in the list of roles that have access and the inside of the tag will only be available to those that have those roles.
Attributes
Name | Type | Required | Default | Options | Description |
lRoles | string | No | | | Check this role to see if current user has access |
result | string | No | | | CALLER variable name to return the result of the check |
error | string | No | false | | |
errormessage | string | No | You don't have permission to view this page | | |
result | variablename | No | | | |
<security:selectProject ...>
Attributes
Name | Type | Required | Default | Options | Description |
None |
<security:SelectUDLogin ...>
Creates a select list so that users can log into the supported user directories
Attributes
Name | Type | Required | Default | Options | Description |
None |