I can think of several use cases where the ability to allow/disallow comments per node type for ANY of the user roles would be useful.

For example a site where someone can present a product - but product presenters cannot comment on products - only product reviewers can -- while all roles can comment on the news articles of the site.

Comments

chx’s picture

Status: Active » Closed (works as designed)

That's a different, way more complicated module. This one is only for anonymous posting. I have got away without adding a permission (or two actually) for every node type with this module but if it's per role then there is hardly any other way than to introduce all 'post article comments' and 'skip approval on article comments' etc permissions. That's something I would not want to do.

lennart’s picture

OK. Thanks for explaining :)

tsvenson’s picture

@lennart: Have a look at Forum Access it gives you that flexibility.

Otherwise I agree with chx to keep this module as it is without a lot of overhead. In my case I want to allow anonymous commenting on many content types, but not some and in particular not in the forum section.

cwithout’s picture

There's a module that does this. Comment Permissions. It doesn't have a d7 release yet. Not sure why not. You might want to express your interest there if you still need the functionality. #1152576: Drupal 7 version of Comment Permissions module