Method | Description | |
---|---|---|
findByTypeAndId ( string $type, integer $id ) : Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface[] | Finds all AccessControls for the given entity type and id. | |
findByTypeAndIdAndRole ( string $type, integer $id, integer $roleId ) : Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface | Find AccessControl by its entities type and id and the role id. |
public findByTypeAndId ( string $type, integer $id ) : Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface[] | ||
$type | string | The type of the AccessControl |
$id | integer | The id of the AccessControl |
return | Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface[] |
public findByTypeAndIdAndRole ( string $type, integer $id, integer $roleId ) : Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface | ||
$type | string | The type of the AccessControl |
$id | integer | The id of the AccessControl |
$roleId | integer | The role id of the AccessControl |
return | Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface |