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 |
Jump to:
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
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
any progress on this issue?
#3
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