All users should belong to the same table and be differentiated by group_id, as you describe. You can then use prefix routing to manage permissions for each group: http://book.cakephp.org/view/950/Prefix-Routing
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 16 Oct 2010, at 08:32, a17s wrote: > Hello all, I have a dummy application which has public users and admin > users entities. Public users can belong to a Group while Admin users > can manage the Group and those joining the group. Should the Admin be > a separate model from the Public user or can both be in the same > model, e.g User and be managed using a role_id? > > Thanks. > > 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 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
