sonata-project/SonataAdminBundle — Issue #471: [ACL] can the bundle's PermissionMap be limited to admin pages?
Author: tiagojsag
Created: 2012-01-02 17:56:53+00:00
State: open

Hi,

when using ACLs for adminBundle, the default permission map has to be overridden by the AdminPermissionMap packed with the bundle, according to security.rst.
However, by doing so, the permission map is applied to the whole website, not just the admin pages. To some extend, this breaks default functionality, as the table of permission inheritance described in http://symfony.com/doc/2.0/cookbook/security/acl_advanced.html#pre-authorization-decisions no longer applies.
Would it be possible to, somehow, limit the bundle's permission map to admin pages?

thanks