Hi all,

I'm working on a multi user website with a collection of documents.
Every user is only allowed to see a subset of the documents.

I want the Documents model to only return the documents that a user is
allowed to see.
If a users requests one particular document, and he doesn't have
rights to see the document (e.g. he modified the url), I want the
model to return nothing.

Is there an easy way to achieve this?








-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to