croogo/croogo — pull request #76 by fahad19 (2012-05-06 22:24:31+00:00)
Title: 1.4 comments

## The problem

Those who know the URL for posting comments, can post comments to nodes whose content types have comments disabled or read-only.

## To reproduce

* Create a new content Type
* Create a new Node of that Type
* Disable comments (or make read-only) in Type settings
* Visit /comments/add/123 (where 123 is the Node ID)

Visitor will be able to post comments.

## Fix

Check if Type has comments in read/write mode before processing `CommentsController::add()` any further.