[Flow] Get all defined Roles in TYPO3 Flow 3.*
Jan Greth
jan at greth.me
Mon Jun 13 15:41:43 CEST 2016
Hello at all,
i have some Problems with the Security Changes since Flow 3.0
Till then i had something like:
/**
* @var \TYPO3\Flow\Security\Policy\RoleRepository
* @Flow\inject
*/
protected $roleRepository;
[...]
$allRoles = $this->roleRepository->findAll();
[...]
But since the Roles aren't stored in DB now - how can i get all Roles,
defined in Policy.yaml, in my Controller?
Does anyone know how?
Bye, Jan
More information about the Flow
mailing list