A role is a collection of permissions. It is a housekeeping object. You can assign a user a role and in doing so assign them a bunch of permissions.

- Dan

Yuemei Sun wrote:
I am a new comer.  I am curious why you have both Role and
Permission classes.  It seems to me that the Permission class doesn't
have much in it.  Why not just have class Role, and for each Role, only
one permission is assigned (represented)?

Thank you.

Amy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to