Hi all,

I'm using the Acl component for some of my models to have CRUD
control. Now I need to filter results based on read rights to a model,
I was thinking $model->afterFind() would be a good place, but I can't
access the Acl component from within a model.

What would be a proper way to do that? I'd like to use pagination, too
(though probably rewritten / modified).

Cheers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to