Extend AuthWebUser and override init to set isAdmin by calling checkAccess('Admin') where Admin is the name of the admin role. I like to keep so called superusers outside of the rbac completely but this would work for you.
-Christoffer
--
You received this message because you are subscribed to the Google Groups "yii-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yii-auth+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
There cannot be. The authName in the AuthItem table is unique.
--