Closed (fixed)
Project:
Comment Permissions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 May 2011 at 10:16 UTC
Updated:
14 Mar 2014 at 22:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andypostIs this a duplicate module http://drupal.org/project/comment_allow_anonymous
Comment #2
lpalgarvio commentedlooks so. will check out
Comment #3
cwithout commentedThis module sounds like exactly what I need. "The Comment Permissions module enables control of commenting by user role and by node type." And in #489314: Comment without approval by role it mentions having added the ability to separate the permission to "skip comment approval" by node type.
The module mentioned in #1 doesn't control comment permissions by user role. Based on #962418: Why not generalize to all roles?, it's never going to. It only controls access for anonymous users. I don't see any information about whether it allows for skipping comment approval by node type.
Forum Access is another replacement I've seen suggested, but it doesn't include skip comment approval by node type, and it applies only to Forums. (I happen to want to use the functionality on Forums, but other people might want the comment permissions by role on other content types.)
This is not a duplicate module. It's one with more features. A Drupal 7 version would be a nice addition.
I'd like to know if there is a port to d7 in the works. If not, I may need to start it myself if I can't find something that accomplishes what I need.
Comment #4
cwithout commentedAfter further searching I found a strategy for handling skip comment approval by node type and user role using Rules #1049630: Require Comment approval per node type?. Seems like a sound method to accomplish that task.
This module would make that task easier to set up.
Though I only need the skip approval permission by role/type, and I don't need comment permissions by user role at the moment, I think it's still a valuable option this module provides. I haven't been able to find any other modules that provide it. (Though I'd be happy to hear if there is one or some other currently available method.)
Comment #5
ayesh commentedRules is the rescue. But it can't do the exact same thing that this module does.
We could use Rules to publish comments based on user role and node type when global permission is set to allow nobody to post comments without approval, but Rules can't completely hide the form from a specific node type, for different roles.
Say there is a site with a forum and a project management node types.
We need to allow all authenticated users to post replies to forum threads but disallow posting replies to project node(only users with Manager role can).
To enable the comment form for authenticated for forum nodes, we have to allow 'post comments' and 'post comments without approval' permissions for authenticated users. But if we do that, authenticated users can comment on Project nodes as well. We can unpublished the comment using Rules but can't hide the comment form.
Comment #6
janis_lv commentedEnter to #3 :D
exactly what I'm looking for. I hope that this module will not conflict with Forum access.
Comment #7
pluess commentedAfter having a look at the code, I can port this to D7. I shouldn't take more than some days. Looks like porting modules to D7 is getting my favorite job (http://drupalcommercecamp.ch/de/sessions/drupal-modul-migration). :-).
However I have to make a living from my drupal work. Is there anybody ready to sponsor this?
Comment #8
benshell commentedThank you pluess for following up with me regarding this project and volunteering to help. I've given you full access to the project, and you're welcome to take over project ownership if you'd like.
And thanks everyone for your comments regarding this module and interest in a D7 version! I'm glad so many people have found it useful! It's just hard to find the time to continue to maintain it since I no longer use it myself.
Comment #9
pluess commentedComment #10
darrick commentedI went ahead and updated the module today. I've attached a patch to the 6.x-1.x branch. Didn't get around to testing the "comment without approval" permission but everything else seems to be working okay.
Comment #11
c-logemann@darrick: Thank you very much for contributing this patch. It's working well.
I have just found a little problem in the patch. First the patch was not from the module folder:
drupal-7.9/sites/all/modules/comment_perm/comment_perm.admin.inc
and there was a comment in the line of dependecy in info-file which caused an error on installation.
Please do git diff in future.
I did a cleanup in info file and attached a new patch. If the patch is commited the authorship should be attributed to @darrick who has done the complete porting work.
@Module-Maintainers: Please open a new 7.x-branch and commit this patch so we can move on with testing and start developing some additional features.
@andypost: I think there is one big difference between this module and comment_allow_anonymous. This is the flexibility in role handling.
I need some more flexibility in viewing permissions of comments and want to contribute this by myself when the d7 branch is opened. If there is more help needed in maintenance I can provide this.
I think the work of Porting to D7 is done and the funding "D7 migration comment permission module" should be removed from the module page or changed at least.
Comment #12
benshell commentedThanks darrick and C_Logemann! I haven't had a chance to test this, but I've applied the patch and pushed to a new 7.x branch. I've also removed all references to funding from the project page.
Comment #14
cuteapoot commentedI'd still like to see this in Drupal 7. I tried the dev version, but didn't see anywhere to change permissions. Anyone have updates for this?
Comment #15
DanZ commentedThis is lovely, but not everyone knows how to get stuff out of the GIT repository.
Please tag and push a release so it can be downloaded from the project page.
Comment #16
alan d. commentedJust visit the releases page :)
http://drupal.org/node/316932/release
Comment #17
fox_01 commentedHere is a duplicate candidate module user_tweaks
Comment #18
markusk commented@bobojo/#14: You have to visit admin/config/system/comment_perm
to tweakto switch on the permissions display at admin/people/permissions.This is a great module, but I nearly missed it because the D7 version is hidden in the issue queue. As DanZ already posted:
Comment #19
alamp commentedThanks for this nice module.
My two cents for beginners,
After enabling this module, please go to "www.example.com/admin/config/system/comment_perm" in order to configure the module.
Comment #20
berliner commentedAs far as I can see, there is a stable 1.0 for D7 since feb 26: https://drupal.org/node/2205997
So this seems to be done.