Method |
Description |
|
setUp ( ) : void |
|
|
testAdminMethodsAllowed ( ) : void |
Test with enabled configuration settings - access to all actions that are
prefixed using the same role configuration setting. |
|
testAvailableRoles ( ) : void |
Tests fetching available Roles from Configure and database |
|
testAvailableRolesEmptyTableException ( ) : void |
Tests exception thrown when the roles database table exists but contains
no roles/records. |
|
testAvailableRolesMissingTableException ( ) : void |
Tests exception thrown when no roles are in Configure AND the roles
database table does not exist. |
|
testBasicUserMethodAllowed ( ) : void |
|
|
testBasicUserMethodAllowedMultiRole ( ) : void |
Tests multi-role authorization. |
|
testBasicUserMethodAllowedWildcard ( ) : void |
Tests access to a controller that uses the * wildcard for both the
action and the allowed groups (* = *). |
|
testBasicUserMethodAllowedWildcardSpecificGroup ( ) : void |
Tests access to a controller that uses the * wildcard for the action
but combines it with a specific group (here: * = moderators). |
|
testBasicUserMethodAllowedWithLongActionNames ( ) : void |
|
|
testBasicUserMethodAllowedWithLongActionNamesUnderscored ( ) : void |
|
|
testBasicUserMethodDisallowed ( ) : void |
|
|
testBasicUserMethodInexistentRole ( ) : void |
|
|
testCaseSensitivity ( ) : void |
Tests using incorrect casing, enforces strict acl.ini definitions. |
|
testConstructor ( ) : void |
Test applying config in the constructor |
|
testConstructorWithoutValidCache ( ) : void |
Tests exception thrown when Cache is unavailable. |
|
testGetAcl ( ) : void |
|
|
testIdColumnPivotTable ( ) : void |
Tests idColumn |
|
testIniConstruct ( ) : void |
Tests constructing an ACL ini section key using CakeRequest parameters |
|
testIniDeconstruct ( ) : void |
Tests deconstructing an ACL ini section key |
|
testIniParsing ( ) : void |
Tests acl.ini parsing method. |
|
testIniParsingMissingFileException ( ) : void |
Tests exception thrown when no acl.ini exists. |
|
testSuperAdmin ( ) : void |
Tests super admin |
|
testSuperAdminRole ( ) : void |
Tests superAdmin role, allowed to all actions |
|
testUserMethodsAllowed ( ) : void |
Tests with configuration setting 'allowUser' set to true, giving user
access to all controller/actions except when prefixed with /admin |
|
testUserRoles ( ) : void |
Tests fetching user roles |
|
testUserRolesCustomPivotTable ( ) : void |
Tests fetching user roles |
|
testUserRolesMissingRoleColumn ( ) : void |
Tests single-role exception thrown when the roleColumn field is missing
from the user table. |
|
testUserRolesUserWithoutPivotRoles ( ) : void |
Tests multi-role when user has no roles in the pivot table. |
|