Hi cc96ai

> in this scenario,
> should I create "action" for all of them in product controller,
> - user_view
> - salesman_view
> - salesman_edit
> - admin_view
> - admin_edit
> - admin_delete
> - admin_add
> 
> and also create 7 View page (thml)  ?
> 
> 
> OR there has better solution to do this ?

Have a look at the Cake manual and read up on ACL.  It will take a while 
to get your head around it, but ACL will do everything you need here 
(when combined with DAuth, OthAuth etc).

I use it to control access to both actions/views and to data, based on 
users and groups.

Regards,
Langdon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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