laravelista / comments

Native comments for your Laravel application.
MIT License
744 stars 142 forks source link

Comment enable or disable by post's owner #162

Closed Parshant0171 closed 3 years ago

Parshant0171 commented 3 years ago

First of all thanks for the great package, I have a query that if I have to make a customization that the other users can only comment if the comment system is enable by the owner of the post or other users can only reply to the comment created by the owner of the post.

mabasic commented 3 years ago

Thank you for the kind words ❤️

You could do this by adding a field on your post model comments on/off or something like that. Then depending on that you could show or hide the comments component. That is out of the scope for this package.

Permissions can be customized, see here. Let me know if you have more questions.