Role needed with less permissions than authenticated user

ebrophy - November 15, 2007 - 03:26

I have Drupal 4.7.6 installed and I want to create a role that has less permissions than authenticated users, but more than anonymous. I want all authenticated users to have the ability to comment, but I don't want certain authenticated users to not have the comment ability. Any suggestions?

Change authenticated user

zirvap - November 15, 2007 - 07:34

Change authenticated user so that it can't post comments, create a new role which can post comments, and give all your users except the "aren't allowed to comment"-people the new role.

I'm pretty sure that creating a role that has fewer permissions than authenticated user is impossible (or at least very hard and not worth the bother).

I thought of this also, but

ebrophy - November 15, 2007 - 19:54

I thought of this also, but I work for a newspaper that has over 150,000 registered users and that would be alot of work to pull them over to the new role. I wonder if there's a way to automatically make an authenticated user become a certain role when they login or first create their account.

Ouch

zirvap - November 15, 2007 - 20:19

Ouch, that sounds like a huge job. I don't know of any way to avoid it, though. Perhaps someone else has an idea?

As for your other question, http://drupal.org/project/registration_role looks promising. I haven't tried it myself, though.

Good luck!

SQL command

Quint - November 15, 2007 - 20:46

I bet you can just use a SQL command to change them all at one time in a few seconds.

this module is exactly what

ebrophy - November 20, 2007 - 01:34

this module is exactly what I needed...thanks for showing me the way. Now to figure out how to get all those authenticated users over to the new role in one automatic move... :)

=-=

VeryMisunderstood - November 20, 2007 - 01:37

I'd investigate the role_weights.module for the orginal problem. doing so should negate the need to move the users. as you can weight a role to be less than authenticated.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

 
 

Drupal is a registered trademark of Dries Buytaert.