security

security

Prefixsecurity
Library path/tags/security
CFImport

<security:CheckInheritedPermission ...>

XML StyleYes

Attributes

NameTypeRequiredDefaultOptionsDescription
PermissionNamestringNo
UserNamestringNo

<security:checkLoggedIn ...>

Forces the user to login

XML StyleYes

Attributes

NameTypeRequiredDefaultOptionsDescription
lRolesstringNoA list of roles the current user must have assigned.
lPermissionsstringNoA list of permissions the current user must have assigned.
messagestringNoA message that will be passed to the login if the security is not met.
urlstringNo
hrefstringNo#attributes.url#the actual href to link to. Defaults to attributes.url
aliasstringNoNavigation alias to use to find the objectid
objectidstringNoAdded to url parameters; navigation obj id
typestringNoAdded to url parameters: Typename used with type webskin views
viewstringNoAdded to url parameters: Webskin name used with type webskin views
bodyViewstringNoAdded to url parameters: Webskin name used with type webskin views
externallinkstringNo
stParametersstringNo#StructNew()#
urlParametersstringNo
includeDomainstringNofalse
DomainstringNo#cgi.http_host#
addTokenstringNofalse
ampDelimstringNo&
loginurlstringNo

<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

XML StyleYes

Attributes

NameTypeRequiredDefaultOptionsDescription
permissionstringNo
rolesstringNo
typepermissionstringNo
typestringNo
generalpermissionstringNo
objectpermissionstringNo
objectIDstringNo
webskinpermissionstringNo
requirestringNoall
errorstringNofalse
errormessagestringNoYou don't have permission to view this page.
resultstringNoSet 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.

XML StyleYes

Attributes

NameTypeRequiredDefaultOptionsDescription
lRolesstringNoCheck this role to see if current user has access
resultstringNoCALLER variable name to return the result of the check
errorstringNofalse
errormessagestringNoYou don't have permission to view this page
resultvariablenameNo

<security:selectProject ...>

XML StyleYes

Attributes

<security:SelectUDLogin ...>

Creates a select list so that users can log into the supported user directories

NameTypeRequiredDefaultOptionsDescription
None
XML StyleYes

Attributes

NameTypeRequiredDefaultOptionsDescription
None