Great job, Chris!
I love the generator feature! It will save a lot of time to set up the whole access control.
I am very new to yii and I am trying to do something as bellow:
I have a button that calls to a action. Instead of user going to the page display the decline message, I try to hide the button from displaying.
e.g. on Post/Admin page, every record has "View", "Edit", "Delete" buttons. If user has no permission to "Edit", then this user can not see the "Edit" button at all.
I'm not sure how can it be done normally, but this is just my thought. Maybe there can be a API that returns true or false value, like:
Or references of other approaches or tutorials will be highly appreciated.
Thanks again for your great effort.