Disable AAR on Admin Add User page

bobgeier - February 4, 2009 - 23:14
Project:Auto Assign Role
Version:6.x-1.0-beta3
Component:User interface
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

I have a mix of roles, about half of which are user-choice at registration (ex. "Member", "Guest"), and half of which are assigned by administrator only (ex. "Editor", "Administrator"). Not all overlap, eg. an "Editor" is neither a Member nor a Guest. However, I want to require a user-registration to select either Member or Guest.

The problem occurs when an Administrator is trying to add a new user who is an Editor. When an administrator creates a new user, AAR adds its own fieldset for roles just below the full administrator assign roles list. This forces the administrator to give the newly created editor either the Member or Guest role as well, just to get past the AAR validation.

Seems like there's no good reason for AAR to be enabled on the administer/add user page. Only gets in the way. Easiest just to take it out.

#1

gmclelland - May 21, 2009 - 19:23

I Agree

#2

crutch - May 23, 2009 - 04:17

I agree. It would suit my configuration if it would only show the roles designated as the ones to be shown.

http://localhost/admin/user/autoassignrole

at "User Role Assignment"

and only 2 of 5 roles selected to be selectable by end user, all roles are always shown to the end user during sign up and not just the 2.

#3

cyberswat - August 19, 2009 - 18:19
Status:active» fixed

Added a flag to disable auto role assignment in the admin area.

http://drupal.org/cvs?commit=253396

#4

System Message - September 2, 2009 - 18:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.