User With Many Roles

Hey is it possible to add multiple roles to 1 user. for example in my site the same user could be a consumer and a staff but another user could be just a staff and another could be just a consumer I tried to make a WebUser class with an isstaff and a iscosumer and added the change config/main.php. but then when i try to login i get a php error page that comes up

Hi jenniferschofi,

Check out this tutorial http://www.yiiframework.com/wiki/328/simple-rbac/