Developed with love by KnpLabs Hire us for your project!
53

CoopTilleulsAclSonataAdminExtensionBundle

by coopTilleuls

ACL list filtering for SonataAdmin

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

  • Test with other DBMSs than MySQL
  • Write tests

Credits

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

The MIT License

Copyright (c) 2013-2017 La Coopérative des Tilleuls

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Fix CS
    By meyerbaptiste, 1 year ago
  • Remove the *.class parameter according to best practices
    By meyerbaptiste, 1 year ago
  • Remove useless classes
    By meyerbaptiste, 1 year ago
  • Use security.token_storage for Symfony 3.0+
    By meyerbaptiste, 1 year ago
  • Merge pull request #24 from coopTilleuls/fix_lowest_dependencies
    By web-flow, 1 year ago
  • Merge pull request #23 from coopTilleuls/add_php_cs_fixer
    By web-flow, 1 year ago
  • Fix dependencies for prefer lowest
    By meyerbaptiste, 1 year ago
  • Add PHP-CS-Fixer config and fix CS
    By meyerbaptiste, 1 year ago
  • sonata-project/admin-bundle requirement from 2.x to 3.x (#19)
    By dunglas, 2 years ago
  • Merge pull request #16 from coopTilleuls/roles_support
    By dunglas, 3 years ago
  • Task #15: constructor definition
    By meyerbaptiste, 3 years ago
  • Missing "doctrine/dbal" dependency
    By meyerbaptiste, 3 years ago
  • Fix #13: Custom ID does not work
    By meyerbaptiste, 3 years ago
  • Fix #15: Add roles support
    By meyerbaptiste, 3 years ago
  • Fix SL Insight warnings about new lines
    By dunglas, 3 years ago
  • Depend only of Sonata Admin.
    By dunglas, 3 years ago
  • Update Les-Tilleuls.coop branding
    By dunglas, 3 years ago
  • Add a Bitdeli badge to README
    By bitdeli-chef, 4 years ago
  • Merge pull request #7 from bitdeli-chef/master
    By sroze, 4 years ago
  • Merge branch 'master' of github.com:coopTilleuls/CoopTilleulsAclSonataAdminExtensionBundle
    By dunglas, 4 years ago
  • Merge pull request #4 from FabienD/issue3
    By dunglas, 4 years ago
  • Cleanup
    By dunglas, 4 years ago
  • fix #issue3
    By Fabien D, 4 years ago
  • Support for Symfony 2.4. Closes #2.
    By dunglas, 4 years ago
  • Merge pull request #1 from aitboudad/patch-1
    By sroze, 4 years ago
  • Allowed access to the user who has Role "ROLE_SONATA_..._ADMIN"
    By Aitboudad, 4 years ago
  • Update README.md
    By dunglas, 4 years ago
  • Update services.xml to match sonata-project/SonataAdminBundle PR #1597
    By dunglas, 4 years ago
  • Remove unnecessary escape method
    By dunglas, 4 years ago
  • Fix services.xml
    By dunglas, 4 years ago