schmunk, on 26 February 2013 - 10:42 AM, said:
What I am missing is a "superuser" functionality, many rights (auth) modules implement this, so you can have a user, which always passes checkAccess()-calls, not only for debug mode as mentioned above.
Hardcoded superusers have downside - if application gets compromised, it is known for what to target.
Besides - it's really easy to make a role with all the rights and assign that to a user. Well, I see most of the people go for Yii-Rights extension - and although it looks nice, it's crap at handling massive assignment or go through tens and hundreds of tasks and actions. I stick with SRBAC and creating a superrole and assignin it to a user is like 4 or 5 clicks. So from my experience it's an imaginary issue, just picked the wrong instrument