Thanks again for additional pointers.

I got many interesting information how to create a row level based
access. We are going to make some tests to see which is the best
solution in our case.

rOger


On Sep 25, 10:23 pm, brian <bally.z...@gmail.com> wrote:
> On Fri, Sep 25, 2009 at 2:25 AM, rOger <roger.eisenec...@icer.ch> wrote:
>
> > Thanks for your answers!!
>
> > @brian: It looks rather complex to accomplish such a "easy" task so I
> > think there must be an easier way to get the same result...
>
> Yeah, sure it's complex. As I pointed out, though, the example I
> posted goes a little further than what you're looking for. But I
> wanted to post it in full so you'd see the context. The nutshell
> version is to query the ACO table using inner joins on both aros &
> aros_acos. The record ID you're checking access to corresponds to
> Aro.foreign_key.
>
> I have no idea if this is THE way to do it, as I couldn't find
> anything much about record-level ACL and Cake. This is what I figured
> out on my own and it seems to work great (at least, for my app).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to