Property | Type | Description | |
---|---|---|---|
$account | |||
$administratorRole | |||
$customerRole |
Method | Description | |
---|---|---|
addRoleAddsRoleToAccountIfNotAssigned ( ) | ||
addRoleSkipsRoleIfAssigned ( ) | ||
expirationDateCanBeSetNull ( ) | ||
getRolesReturnsOnlyExistingRoles ( ) | ||
hasRoleReturnsFalseForAssignedButNonExistentRole ( ) | ||
hasRoleWorks ( ) | ||
isActiveReturnsFalseIfTheAccountHasAnExpirationDateInThePast ( ) | ||
isActiveReturnsTrueIfTheAccountHasAnExpirationDateInTheFuture ( ) | ||
isActiveReturnsTrueIfTheAccountHasNoExpirationDate ( ) | ||
removeRoleRemovesRoleFromAccountIfAssigned ( ) | ||
removeRoleSkipsRemovalIfRoleNotAssigned ( ) | ||
setRolesWorks ( ) | ||
setUp ( ) | Setup function for the test case |
public addRoleAddsRoleToAccountIfNotAssigned ( ) |
public removeRoleRemovesRoleFromAccountIfAssigned ( ) |
public removeRoleSkipsRemovalIfRoleNotAssigned ( ) |
protected Account,Neos\Flow\Security $account | ||
return |
protected Role,Neos\Flow\Security\Policy $administratorRole | ||
return |