Symfony2: how to get all entities of one type which are marked with "EDIT" ACL permission?

PhpSymfonyDoctrineAclEntitymanager

Php Problem Overview


Can someone tell me how to get all entities of one type which are marked with "EDIT" ACL permission?

I would like to build a query with the Doctrine EntityManager.

Php Solutions


Solution 1 - Php

I don't believe there's a default way of doing this. What you could do is to write your own service that adds a Filter to your Doctrine DQL queries.

For more info, see:

Hope this helps!

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionstoeflnView Question on Stackoverflow
Solution 1 - PhpDaniel GellingView Answer on Stackoverflow