Hello out there.
I am still quite new to yii and use the Blog-demo to learn it.
This works quite well, so thanks for putting all of this up.
One question arose:
On the page about comment-creation
It allows basically everybody to create a comment, mostly (I guess) as it is called via the actionView of the Post-Controller, which is open for every body.
But how do I do this if I want that everybody views the Posts, but only registered users can create a new comment?
In the comment-controller I can not set this up, as it is not called from the Post-Controller, right?
If I understand it correctly, the post-controller gets its own model of the comment to save it, without the comment-controller.
Any ideas that point me to the right direction highly welcome…