Method | Description | |
---|---|---|
setUp ( ) | ||
tearDown ( ) | ||
testAllowRulesDoNotOverridePriorRules ( ) | Adding allow rules do not override prior rules, but instead are logically or'ed | |
testCanEvaluateRulesOnObject ( ) | ||
testCanStoreCurrentUser ( ) | ||
testCannotDoAnythingWithoutRules ( ) | A user cannot do anything without rules | |
testDefaultAliasActions ( ) | ||
testDenyRuleOverridesPriorRules ( ) | Adding deny rule overrides prior rules | |
testRulesPrecedence ( ) |
Method | Description | |
---|---|---|
assertCan ( $action, $resource, $resourceValue = null, $authority = null ) | Helpers | |
assertCannot ( $action, $resource, $resourceValue = null, $authority = null ) |
protected assertCan ( $action, $resource, $resourceValue = null, $authority = null ) |
protected assertCannot ( $action, $resource, $resourceValue = null, $authority = null ) |
public testAllowRulesDoNotOverridePriorRules ( ) |
public testCannotDoAnythingWithoutRules ( ) |
public testDenyRuleOverridesPriorRules ( ) |