expose user of running flows

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-11-27 16:03:31 +01:00
parent 7210852f07
commit 7a7a415fdc
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,8 @@ class Manager implements IManager {
$query = $this->connection->getQueryBuilder();
$query->select('o.*')
->selectAlias('s.type', 'scope_type')
->selectAlias('s.value', 'scope_actor_id')
->from('flow_operations', 'o')
->leftJoin('o', 'flow_operations_scope', 's', $query->expr()->eq('o.id', 's.operation_id'))
->where($query->expr()->eq('s.type', $query->createParameter('scope')));