I am programming a database front-end. The database contains data for
various products, one table for the data, another for the product, one
for the company, all related to each other with "belongsTo" and
"hasMany".

I want to restrict the access of users to individual datasets. Every
table has a field "security" with an integer, and every user group has
an id. Depending on the highest security level of all related tables
and the user group id I want to display the dataset or forward to an
error page.

I am not very experienced with cakephp, and only see the possibility
to check group id and security levels in every single action of every
controller (perhaps wrapped into a component).

Is there a better way?
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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