I am running a college newspaper site and have several user roles established including ones for Section Editors and Copy Editors.
I would like to restrict the Section Editors and Copy Editors roles from posting comments on that site. I can find no way to do this, since these users are also a member of Authenticated Users which includes a broader base of users who should have the ability of posting comments...other than creating a new role for regular users (which I am unsure how to make this the default role for new users), is there a way to restrict the Section Editors and Copy Editors from posting comments?
Thanks!
My first instinct would be to tie into hook_comment ( http://api.drupal.org/api/function/hook_comment/6)
On Tue, Apr 13, 2010 at 6:23 PM, Johns, Ethan ejohns89@mercyhurst.eduwrote:
I am running a college newspaper site and have several user roles established including ones for Section Editors and Copy Editors.
I would like to restrict the Section Editors and Copy Editors roles from posting comments on that site. I can find no way to do this, since these users are also a member of Authenticated Users which includes a broader base of users who should have the ability of posting comments…other than creating a new role for regular users (which I am unsure how to make this the default role for new users), is there a way to restrict the Section Editors and Copy Editors from posting comments?
Thanks!
-- [ Drupal support list | http://lists.drupal.org/ ]
Comment Permissions is working for me for what sounds like a similar use case. http://drupal.org/project/comment_perm
-Steve
Steve Kessler
Denver DataMan
303-587-4428
Sign up http://www.denverdataman.com/denver-dataman-e-newsletter-signup for the Denver DataMan Free eNewslettter
From: William Smith [mailto:william.darren@gmail.com] Sent: Tuesday, April 13, 2010 5:10 PM To: support@drupal.org Subject: Re: [support] Restrict posting of comments
My first instinct would be to tie into hook_comment (http://api.drupal.org/api/function/hook_comment/6)
On Tue, Apr 13, 2010 at 6:23 PM, Johns, Ethan ejohns89@mercyhurst.edu wrote:
I am running a college newspaper site and have several user roles established including ones for Section Editors and Copy Editors.
I would like to restrict the Section Editors and Copy Editors roles from posting comments on that site. I can find no way to do this, since these users are also a member of Authenticated Users which includes a broader base of users who should have the ability of posting comments.other than creating a new role for regular users (which I am unsure how to make this the default role for new users), is there a way to restrict the Section Editors and Copy Editors from posting comments?
Thanks!
-- [ Drupal support list | http://lists.drupal.org/ ]
you can auto assign people to a particular role at user creation, and then give that role comments and the other roles not:
http://drupal.org/project/autoassignrole
Johns, Ethan wrote:
I am running a college newspaper site and have several user roles established including ones for Section Editors and Copy Editors.
I would like to restrict the Section Editors and Copy Editors roles from posting comments on that site. I can find no way to do this, since these users are also a member of Authenticated Users which includes a broader base of users who should have the ability of posting comments…other than creating a new role for regular users (which I am unsure how to make this the default role for new users), is there a way to restrict the Section Editors and Copy Editors from posting comments?
Thanks!