First, configure the ACL Symfony system : Symfony ACL Cookbook
# app/config/security.yml
security:
acl:
connection: default
$ php app/console init:acl
Don't forget to check the allow_if_object_identity_unavailable parameter. In most situations, you'll want it to be false, but its default value is true.
# app/config/security.yml
security:
acl:
connection: default
voter:
allow_if_object_identity_unavailable: false
If you defined a custom PermissionMap and its service id is different than the default one (security.acl.permission.map) :
# app/config.yml
nuxia_acl:
permission_map_id: your_permission_map