Getting to Understand Hierarchical RBAC Scheme

I wrote an article called "Yii: Getting to Understand Hierarchical RBAC Scheme" at


(correct hxxp to http - can’t post links yet) which adds additional explanations to the “Definitive Guide”, chapter “Authentication and Authorization” regarding details of Yii’s RBAC scheme

Please, tell me what you think about this article

Why not write a wiki article…

Actually I’m quite new to the Yii community and it does have really lots of places to share one’s knowledge so sometimes I feel lost.

Firstly, I tried to publish it as a comment under "Authentication and Authorization" topic of the "Definitive Guide" and I think it had been moderated out because of the link…

Yes… Comments in the tutorial are only for explaining the topic…

To write an article about any yii topic you can go here -

Click on the right column on "Write new article"

Done :)

I saw it… it’s a nice addition to the wiki collection… well done…

Info: as you have already 4 posts on this forum… you wlil not be restricted for posting without URLs ;)

(anti-spam prevention)

Hey guys I’m new to Yii… RBAC is cool and everything but don’t u think the CDbAuthManager or CWebUser should have something to cache the auth items ? I mean u can easily endup with dozens of SQL queries in each request just for the auth (recursive check)

If someone knows a workaround for this… or can just point me to the right direction it would be great

Thanks man! grettings from México :)