Project:Role Delay
Version:4.6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:zakpet
Status:closed (works as designed)

Issue Summary

I've installed the latest version of the roledelay module on Drupal 4.6.5. Despite the fact that I've set users to be "authenticated" only after 2 days, when new users create accounts, their settings show them to be authenticated.

I've created a new role "probationary user", but users still get authenticated automatically.

Comments

#1

I think that users get the 'authenticated user' permission automatically, regardless what the Roledelay module is set to.

The approach that I use for role delay is to create another role called 'posting access', and have role delay grant that after 1 hour. "posting access" lets the user post and do other things.

-- Doug

#2

Thanks that clears up everything!

#3

Not so clear for me...

So do you mean that authenticated (default role after registering) should not be able to post anymore?

Maybe right for new sites, but if you already have thousands of authenticated users before implementing roledelay all of then will lose their right to post.

I suppose you'd need to change those roles in database too, isn't it?

#4

> Maybe right for new sites, but if you already have thousands of authenticated users before implementing roledelay
> all of then will lose their right to post.

He's got a point. Doing this on an established site would require you to write a script or something to upgrade all of the existing users.

-- Doug

#5

Status:active» closed (works as designed)

#6

You can run this SQL on your DB to assign a role to existing users:

insert into users_roles select uid, 13 from users where status = 1;

In my case, 13 was the role id of the new role I wanted to assign (check your role table). This SQL query grants the new rol to all active users. Blocked users do not get the rol.

Maybe this could be integrated in the module somehow.

Eneko Alonso
http://dev.enekoalonso.com

nobody click here