I have a question about RBAC !
What situations I must ( or should) use RBAC to replace accessRule . In internet, I see more example about RBAC but I think it can be resolve by accessRule !?
In book "Web Application Development With Yii And PHP", there is a situation using RBAC. 3 Role : owner, member, reader in Project context. But with table tbl_project_user_assignmen, I can define role of user of a Project, then I can code in action_ to restrict Access of user !?
In summary , I don’t understand advantage of RBAC, Which situations I should ( or shouldn’t) use RBAC
My English is not well,I hope you can understand my question !!!
Thanks for every answer !!!