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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>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 [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