tilleuls / acl-sonata-admin-extension-bundle
ACL list filtering for SonataAdmin
Installs: 29 529
Dependents: 0
Suggesters: 0
Security: 0
Stars: 45
Watchers: 27
Forks: 21
Open Issues: 6
Type:symfony-bundle
Requires
- doctrine/dbal: ^2.2
- sonata-project/admin-bundle: ^2.2.2 || ^3.0
- symfony/dependency-injection: ^2.2 || ^3.0
This package is auto-updated.
Last update: 2024-12-10 11:23:48 UTC
README
This bundle provides ACL list filtering for SonataAdminBundle. When enabled, list screens only display data the logged in user has right to view.
This bundle is a good complementary of the SonataAdminBundle ACL editor.
Install
Be sure that SonataAdminBundle is working and has ACL enabled.
Install this bundle using composer:
composer require tilleuls/acl-sonata-admin-extension-bundle
Register the bundle in your AppKernel:
// app/AppKernel.php public function registerBundles() { return array( // ... new CoopTilleuls\Bundle\AclSonataAdminExtensionBundle\CoopTilleulsAclSonataAdminExtensionBundle(), // ... ); }
Enable
This extension is automatically enabled for all admins.
TODO
- Test with other DBMSs than MySQL
- Write tests
Credits
Created by Kévin Dunglas for Les-Tilleuls.coop.