How can I modify the access rules in yii blog demo so that the only the owner of the post (as well as admin) can modify the post as well as delete the comments. But any other other user shouldn’t be able be able to do that (even the post owner shouldn’t be able to update the comments. he should be only be able to delete them)
What is a good way to approach this.
I though little more complicated access rules should achieve this. But couldn’t find examples for more complicated access rules