Feature #39910
Ability to query user based on roles
Status: | Accepted | Start date: | 2012-08-17 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Rens Admiraal | % Done: | 0% |
|
Category: | Security | |||
Target version: | - | |||
PHP Version: | 5.3 | Complexity: | medium | |
Has patch: | No |
Description
For application that need to be able to manage users via a custom web interface the current implementation of TYPO3\FLOW3\Security\Policy\Roles being serialized and stored within the TYPO3\FLOW3\Security\Account tables when persisted to the database. The issue is that the roles are duplicated within the database since each user has their own copy (Which of course is not huge problem) but there is no way of querying a group of users that have a certain role.
It would be nice to be able to use something like this to find users by role:
$accounts = $this->accountRepository->findByRole('FINANCE_ROLE');
And obtain either an array or QueryResult.
History
#1 Updated by Rens Admiraal almost 3 years ago
- Status changed from New to Accepted
- Assigned To set to Rens Admiraal
#2 Updated by Rens Admiraal almost 3 years ago
hi Pablo, would be cool if we can discuss the way you want to use roles on IRC somewhere next days
#3 Updated by Karsten Dambekalns over 2 years ago
- Target version changed from 1.1.1 to 2.1
#4 Updated by Robert Lemke about 2 years ago
- Target version deleted (
2.1)