Role cleared when approving user

tj2653 - February 22, 2008 - 15:41
Project:Role Control
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I set my site up to have an administrator approve all user registrations, but when a user signs up with a role checked, there's a problem. In the user list, the user has the role shown, but when they are approved, the role disappears.

#1

elliot - February 25, 2008 - 15:24

Hmm, I just adjusted my drupal setup to reflect what I'm thinking you are saying and everything appears to work as expected. Here's the scenario I have:

  1. User signs up for account
  2. Administrator gets an email taking him to the user edit page where he ticks the "active" radio button
  3. Looking at the user edit page for the user still shows the new user as a member of the controlled role and has the box for enabling premium content ticked.

What does appear to be missing is that in my situation a user must be a member of an additional role to be able to access the controlled role, and the user is not by default added to that role. (I believe there's another module out there that lets admins assign multiple roles to a user at account creation time, but I'm not sure.)

Can you give me some more details about your setup? Maybe you just need to configure the permissions for who can use the Access Control section. Make sure the role people are assigned to by default also has the ability to "maintain own role control"

 
 

Drupal is a registered trademark of Dries Buytaert.