coopTilleuls / CoopTilleulsAclSonataAdminExtensionBundle

ACL list filtering for SonataAdmin
http://les-tilleuls.coop
MIT License
45 stars 21 forks source link
acl php sonataadminbundle symfony-bundle

ACL extension for Sonata Admin

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.

SensioLabsInsight

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

Credits

Created by Kévin Dunglas for Les-Tilleuls.coop.