Provides functions to check whether the current user has the access rights required for invoking functions
hierarchy: |
WEB-INF.cftags.component CFIDE.adminapi.accessmanager |
path: | /opt/coldfusion/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc |
serializable: | Yes |
properties: | |
final: | false |
abstract: | false |
methods: | canAccessPage, checkAdminRoles, checkRootAdminUser |
canAccessPage |
---|
public
boolean
canAccessPage
(
required string
page
)
Indicates whether or not the current user can access the specified page Output: suppressed Parameters: page: string, required, page |
checkAdminRoles |
public
checkAdminRoles
(
requiredRoles="",
boolean
checkAllRoles="true"
)
Checks whether the current user is in the required administrative roles, else throws an error. Output: suppressed Parameters: requiredRoles: any, optional, requiredRoles - List of required roles. checkAllRoles: boolean, optional, checkAllRoles |
checkRootAdminUser |
public
checkRootAdminUser
(
)
Checks whether the current user is the root admin user, else throws an error. Output: suppressed |