Feature #39910

Ability to query user based on roles

Added by Pablo Delgado about 9 years ago. Updated over 8 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Security
Target version:
-
Start date:
2012-08-17
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Has patch:
No
Complexity:
medium

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.

#1

Updated by Rens Admiraal about 9 years ago

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

Updated by Rens Admiraal about 9 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 almost 9 years ago

  • Target version changed from 1.1.1 to 2.1
#4

Updated by Robert Lemke over 8 years ago

  • Target version deleted (2.1)

Also available in: Atom PDF