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

Comments

decibel.places’s picture

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

briskday’s picture

any progress on this issue?

elliot’s picture

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