Only one ACL config / instance required, with the FQCN of the Entity
the Resource, the action (edit/update ..) the Privilege, and the role
dynamically determined by the users association to the blog post the
Role. If you are using Doctrine ORM I believe the events are already
there http://docs.doctrine-project.org/en/2.0.x/reference/events.html

On Mon, Sep 9, 2013 at 12:27 PM, Martijn Korse <[email protected]> wrote:
> Hi Richard
>
> Sounds interesting and where it concerns database _changes_ i think it's
> also possible. I already have an abstract controller class with a method
> "writeDbChanges()" that takes a Zend-Form as argument. This form as a
> doctrine entity bound to it, so i see a lot of possibilities there.
>
> The only thing i'm not too happy with is that i will need to create two
> seperate acl-configs for that then.
>
> And, still one scenario remains: when i'm selecting data from the database.
> I wouldn't know where to implement a listener for that ... Or maybe it is
> just too much to ask to keep this dynamic? Since i'll be creating a seperate
> acl-config maybe i'll just have to do this 'manually' everytime i select
> something? Is that the way to go?
>
>
>
> --
> View this message in context: 
> http://zend-framework-community.634137.n4.nabble.com/zf2-zend-acl-dynamic-assertions-when-how-to-load-the-resource-tp4660933p4660940.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to