Closed (outdated)
Project:
Auto Assign Role
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2009 at 22:28 UTC
Updated:
21 Apr 2016 at 14:29 UTC
Jump to comment: Most recent
Comments
Comment #1
mp commentedi would need this too ... i think this could be very usefull.
can you add a checkbox in the module where you can activate if users can change their roles or not? that would be great!
i would need it for D6
greets
Comment #2
mp commentedi found a solution for that if someone is interested in it ... for D6
greets
Comment #3
billnbell commentedPost it
Comment #4
RicardoJBarrios commentedYes, I'm also looking for it. Please, post.
Comment #5
mp commentedhi
just delete or comment out the lines marked with "modified by gr4phic3r" in autoassignrole.module
greets
Comment #6
RicardoJBarrios commentedA lot of thanks... I've marked it as a patch to see if it can be done in next version.
Comment #7
cyberswat commentedPlease roll this as a real patch http://drupal.org/patch/create
Comment #8
manoloka commentedWouldn't be easier just mark it as "Required" than patching the module?
This way if someone submits without choosing a role they'll get a "field is required" message.
Just my thoughts
Comment #9
gmclelland commentedWhat is the status on this?
This should definitely be an option included, but maybe it should use the variables that is under the "Allow user to choose" fieldset on the AutomaticAssignRoles settings page.
Comment #10
cyberswat commentedStill looking for a decent patch for this.
Comment #11
billnbell commentedIt appears this is in the beta 3...
I think the "case 'update':" is missing too.
Comment #12
junro commentedsubscribe,
Do this pach is in the last dev version of July? I can't find how to allow users to change their roles.
Comment #13
cyberswat commentedThis would only work if the user is allowed to make the selection during registration. It looses viability when a user is presented with multiple paths or content types that can function as a registration form. Each path might present a node with specific cck fields that are required. Simply providing a mechanism for the user to switch their role would not account for all of the possible variations. I'm not entirely convinced this is something I am going to be able to provide.
I am going to mark this as won't fix unless a decent patch is provided that can be prooven through simpletest
Comment #14
junro commented@cyberswat
"This would only work if the user is allowed to make the selection during registration." It's what I need! :)
Comment #15
junro commentedHello, Users can choose a role on registration page but can't change their role after... It doesn't make sense.
My users HAVE to choose a role (only one) on registration page but they could change it later...
This feature is impossible?
Comment #16
13rac1 commented@juno it's not impossible. I'm sure cyberswat would accept a patch for this functionality.
Have you looked at http://drupal.org/project/role_control?
Setting back to won't fix since cyberswat's reasoning still applies.
Comment #17
junro commented@control
I didn't take a look on this module. i would say: Again a module not maintained...
I'm not a developper it's not safe for me to use it....
The problem with Drupal is that a lot of modules have to be maintain to avoid problems.
Comment #18
13rac1 commentedIt's not unsafe per se. Unless there are outstanding security bugs listed, it is just a matter of it working correctly. Try it and test everything. If it works correctly for your needs, then there isn't an important reason you can't use it.
Comment #19
izahn commentedI really want this functionality. With the current system a user has only one shot to choose the appropriate role. If they screw up and choose the wrong one their stuck with it unless they contact the admin and request a change. I really want users to be able to change their role after the fact. Maybe I'm doing something wrong, but commenting out parts of the code as suggested n #5 did not seem to achieve this.
I don't have the chops to program this myself, but I'm willing to contribute $50 USD towards seeing this implemented.
-Ista
Comment #20
hellomobe commented+1 - if a user didn't select a role in the registration (other than by default authenticated), then they should be able to edit/choose their role later under the user profile edit. In my case, as may be for many others, the different cck field/path issues (which is a very valid point) only comes up for defined roles.
Comment #21
cyberswat commentedI agree this is useful functionality and would gladly accept a patch.
Comment #22
drupdruppalpal commentedI think it could be done with a Triggered rule (with rules module), and a selection cck field at content profile.
if cck field is selected, and User profile (with content profile) updated, => add role X to the user
is a dirty solution, and it would be better if this is done at edit user configuration instead of the user profile configuration.
:P
Comment #23
junro commentedNobody doesn"t have a patch for this functionnality?
Or maybe you have find another solution?
Comment #24
miaoulafrite commentedsubscribing.
i'm using module ver. 1.2 and this functionality is still not implemented apparently.
Comment #25
echelon89 commented+1
Comment #26
YK85 commentedsubscribe
Comment #27
boreg commentedYou can still use http://drupal.org/project/user_selectable_roles. I just tested it and it works like a charm. Not as many features like auto assign, but it's enough if you want just select roles A) during registration B) during registration + change it in user's profile
Comment #28
junro commentedOh didn't knew this module. Looks like to do the job! Thanks :)
Comment #29
jpmizell commentedUser-Selectable Roles does provide the ability for in-profile user role selection. However, it still presents the choice on the registration form which is a feature I don't want. Sadly, for those of us in D6, it is defaulting to Auto Assign Role for D7 and is under minimal maintenance.
Comment #30
kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.