[Flow] ACL Problems with initialize Action

Christian chl at vkf-renzel.de
Wed Apr 2 11:20:00 CEST 2014


Hi,

there seems to be a problem with my ACL since I updated to Flow 2.1. It 
seems like, the initializeAction of my Controller are being "protected" 
now aswell. The funny thing about it is, that I actually define a 
resource, that should cover all .*Action mehods.

Here the error:

Access denied (0 denied, 0 granted, 1 abstained) to method 
Vendor\Package\Controller\StandardController::initializeAction().

And here the ACL:

resources:
    methods:
     Vendor.Package.StandardController: 
'method(Vendor\Package\Controller\StandardController->.*Action())'

acls:
   myRole:
     Vendor.Package.StandardController: GRANT


Now, this works on normal actions of the controller, but not on 
initializeAction.

How is that even possible?



More information about the Flow mailing list