Documentation implement user recommend FOSUserBundle
You can configure config.yml
default query parameter names and templates
services:
#ACL manager
mws_acl_manager:
class: MWSimple\Bundle\AdminCrudBundle\Services\ACLManager
arguments:
- "@service_container"
#Listener delete ACL PostRemove
mws_acl_listener:
class: MWSimple\Bundle\AdminCrudBundle\EventListener\ACLListener
arguments:
- "@service_container"
tags:
- { name: doctrine.event_listener, event: preRemove }
mw_simple_admin_crud:
#...
acl:
use: true #default false
exclude_role: ROLE_SUPER_ADMIN #exclude role the control, default false
#entities use
entities:
- Acme\DemoBundle\Entity\Post
- Acme\DemoBundle\Entity\Post2