It would be nice to have an option
where users are autoapproved as soon as they apply
or at least be approved when system (or admin)
approves them
It would be nice to have an option
where users are autoapproved as soon as they apply
or at least be approved when system (or admin)
approves them
Comments
Comment #1
heather commentedI think this module, Apply for Role, is specifically for managed approvals. There's another module called "auto assign role" which does what you suggest, and would suit your needs: http://drupal.org/project/autoassignrole "This module automatically assigns new users to a specific role when the user initially signs up for their account."
Comment #2
drewish commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
Flying Drupalist commentedHi, may I second this request for 6.x?
I want my users to start out as default, but be able to move up to higher roles if they want to. This will open up 'advanced' settings for them, I don't want this to be moderated but auto approved. Thanks!
Comment #5
maindrain commentedI would like an auto-approve option also.
Comment #6
Soren Jones commentedSee also #302874: Would like to be able to automatically approve certain role applications & #323592: Allow for the option to not need approval for certain roles.
Comment #7
restyler commentedany news on this very useful feature? autoassign role doesn't help in some cases.
Comment #8
Gabriel R. commentedIt sounds like a useful action to have for a role application.
Comment #9
moonleaf commentedI'd like to request this feature as well
Comment #10
thurain commentedme too, I need this feature. I tried Auto Assign Role module but it is not working prefectly.
I would like user to choose role during their account registration and depend on their role, they will allow to view certain Webpages and some webpages are disable for them.
I think it would be nice to have auto approve function in this module
Comment #11
j0rd commentedAutoAssignRole does not work like apply_for_role does, since it does not deal with already active users and only new ones.
I've been attempting to create an automatic approval via the hook_apply_for_role($action == 'apply') and then calling apply_for_role_approve_apply(), but because of the recursive nature of this and how the hooks are laid out, theres a final save function which eventually nullifies any roles, which get added.
I've managed to do it with a cron hook which isn't ideal, but works well enough for me.
If you only wanted to do it for certain roles, you could add another WHERE over the `rid` field.
Comment #12
virtualdrupal commentedYou could also use a Hook user insert for D7
Comment #13
falent commentedhi, where should I copy this code? I need something like this that user can choose a role after registration but I don't want to approve it. It should be approved automatically :)
Comment #14
jnicola commentedNo longer supporting 6.x issues