Feature #39910

Ability to query user based on roles

Added by Pablo Delgado 9 months ago. Updated 4 days ago.

Status:Accepted Start date:2012-08-17
Priority:Should have Due date:
Assignee:Rens Admiraal % Done:

0%

Category:Security
Target version:-
PHP Version:5.3 Complexity:medium
Has patch:No
Votes: 1 (View)

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

Updated by Rens Admiraal 9 months ago

  • Status changed from New to Accepted
  • Assignee set to Rens Admiraal

Updated by Rens Admiraal 9 months ago

hi Pablo, would be cool if we can discuss the way you want to use roles on IRC somewhere next days

Updated by Karsten Dambekalns 5 months ago

  • Target version changed from 1.1.1 to 2.1

Updated by Robert Lemke 4 days ago

  • Target version deleted (2.1)

Also available in: Atom PDF