Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coopTilleuls/CoopTilleulsAclSonataAdminExtensionBundle
ACL list filtering for SonataAdmin
https://github.com/coopTilleuls/CoopTilleulsAclSonataAdminExtensionBundle
acl php sonataadminbundle symfony-bundle
Last synced: 16 days ago
JSON representation
ACL list filtering for SonataAdmin
- Host: GitHub
- URL: https://github.com/coopTilleuls/CoopTilleulsAclSonataAdminExtensionBundle
- Owner: coopTilleuls
- License: mit
- Created: 2013-08-28T15:22:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T08:49:08.000Z (8 months ago)
- Last Synced: 2024-04-26T08:41:50.377Z (about 2 months ago)
- Topics: acl, php, sonataadminbundle, symfony-bundle
- Language: PHP
- Homepage: http://les-tilleuls.coop
- Size: 28.3 KB
- Stars: 44
- Watchers: 26
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-starred - CoopTilleulsAclSonataAdminExtensionBundle
README
# ACL extension for Sonata Admin
This bundle provides ACL list filtering for [SonataAdminBundle](https://github.com/sonata-project/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](http://sonata-project.org/bundles/admin/master/doc/reference/security.html#acl-editor).
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/d7d70442-b52c-4072-8e03-45e6a47e1ca2/mini.png)](https://insight.sensiolabs.com/projects/d7d70442-b52c-4072-8e03-45e6a47e1ca2)
## Install
Be sure that SonataAdminBundle is working and has [ACL enabled](http://sonata-project.org/bundles/admin/master/doc/reference/security.html#acl-and-friendsofsymfony-userbundle).
Install this bundle using composer:
```
composer require tilleuls/acl-sonata-admin-extension-bundle
```Register the bundle in your AppKernel:
```php
// app/AppKernel.phppublic 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](http://dunglas.fr) for [Les-Tilleuls.coop](http://les-tilleuls.coop).