On my site we have enquiries (nodes) and price quotes (comments). So node authors shouldn't be offered to quote prices to themselves.
That's why I want to disallow node authors comment their own nodes. How can I do so?
Updated: The 'user-compare' option in panels visibility rules could easily allow to achieve what i want. I've used this functionality for other panes i.e. profile fields etc. But i didn't find 'user-compare' entry in Panels visibility rules for comment form in node template. Why?
I chose the way offered by Pierre.Vriens using Rules because I couldn't make the code snippet by oksana-c work with Panels. Unpublishing comments with The Rules is not best user experience. Comment Permissions module also didn't help. Any suggestion for unsetting whole comment form for node authors programmatically in Panels environment would be much appreciated.