Disable AAR on Admin Add User page
| Project: | Auto Assign Role |
| Version: | 6.x-1.0-beta3 |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
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
I Agree
#2
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
Added a flag to disable auto role assignment in the admin area.
http://drupal.org/cvs?commit=253396
#4
Automatically closed -- issue fixed for 2 weeks with no activity.