security_acl.xml 1.1 KB

1234567891011121314151617
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  3. <parameters>
  4. <parameter key="security.acl.user_voter.class">Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter</parameter>
  5. </parameters>
  6. <services>
  7. <service id="security.acl.voter.user_permissions" class="%security.acl.user_voter.class%" public="false">
  8. <tag name="monolog.logger" channel="security"/>
  9. <tag name="security.voter" priority="255"/>
  10. <argument type="service" id="security.acl.provider"/>
  11. <argument type="service" id="security.acl.object_identity_retrieval_strategy"/>
  12. <argument type="service" id="security.acl.security_identity_retrieval_strategy"/>
  13. <argument type="service" id="security.acl.permission.map"/>
  14. <argument type="service" id="logger" on-invalid="null"/>
  15. </service>
  16. </services>
  17. </container>