PHPackages                             curiosity26/acl-helper-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. curiosity26/acl-helper-bundle

ActiveSymfony-bundle[Security](/categories/security)

curiosity26/acl-helper-bundle
=============================

Allows direct querying for entities with ACLs implied

V1.2.12(6y ago)2711[3 PRs](https://github.com/curiosity26/ACLHelper/pulls)MITPHPPHP ^7.1

Since Nov 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/curiosity26/ACLHelper)[ Packagist](https://packagist.org/packages/curiosity26/acl-helper-bundle)[ RSS](/packages/curiosity26-acl-helper-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (10)Versions (20)Used By (0)

Acl Helper Bundle
=================

[](#acl-helper-bundle)

This bundle is created for the purpose of applying ACL's when querying entities; preventing the need for post-query iteration. This helps with things like pagination and handling security on multiple records simultaneously.

Querying does not apply to associations. It is recommended that you handle your own querying for any deep associations that may require ACL's be applied to them.

Field level security is also not taken into account at query time. It is up to you and your application to handle field level security.

Example
-------

[](#example)

In this example, let's pretend we have an entity which is owned by `user1` and those with `ROLE_ADMIN` can edit, delete and view, `ROLE_USER` users can just view.

```
