Why not create a groups table and model? Then give the Group Model a hasMany
users? :-) You can then set the groups to work as aros.
I think it's in the cookbook; the ACL tutorial includes a groups table and
model: http://book.cakephp.org/view/1544/Preparing-our-Application

Loic

On Wed, Sep 8, 2010 at 10:50 AM, Synue Cunioci <srcuni...@gmail.com> wrote:

> I've been reading about Auth and ACL Components and, following what
> I've seen in the cookbook, it seems that I should have tables called
> users, acos, aros and aros_acos to handle Auth and ACL. My question
> is: how do I handle  (in the database) two or three kinds of users (as
> visitors, authors and administrators)?
>
> Since the data I should store in the database are different for each
> kind of user I don't know exactly what I should do.
>
> Thanks in advance
>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 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