Role Control at User Registration Broken

elliot - February 25, 2008 - 18:18
Project:Role Control
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:elliot
Status:active
Description

If you enable users to add themselves to a controlled role at registration Drupal 6 doesn't assign the role.
Actually the role is assigned (if you kill the code just after it runs _role_control_grant_role, the user is assigned the correct role) but it is un-assigned before the process is finished.

Anyone know what happens after account creation that might be breaking this?
-Elliot

#1

decibel.places - May 27, 2008 - 17:01

also, if you assign the role as admin in admin/user/user the role evaporates, too.

however "Apply for Role" works on these roles, but does not autoassign, needs admin approval

module worked fine in Drupal v 5.7

#2

briskday - February 22, 2009 - 07:38

any progress on this issue?

#3

elliot - February 23, 2009 - 00:59

Sorry none. We're not on 6 yet as I accidentally deleted my test box at some point and never finished the migration. If anyone wants to post a patch, I'd be more than happy to role it in.
-Elliot

 
 

Drupal is a registered trademark of Dries Buytaert.