I would like user account A to require approval before granting access, and user account B not to require any approval.

How can this be achieved?

  • 1
    Hello, and welcome on Drupal Answers. What is the difference between the first account, and the second account? Is there anything that makes the difference between those accounts? – kiamlaluno Nov 7 '12 at 19:27
  • Do you mean that if user A grants access to user D, then user C needs to approve this granting of access, but if user B grants access to user D then user C doesn't need to be involved? – iconoclast Nov 7 '12 at 19:29

I have not used any module that can provide this kind of control. What you can do is for the second option create your own form and from backend create the user on form submit after proper validation.

| improve this answer | |
  • I'm allowing two types of accounts to be registered. The first account (Default) requires admin approval before being accepted. The second account I want to be approved right away, no admin approval required. – John Nov 7 '12 at 20:16
  • Yes, Then for second account your your own form for registration and from backend use user_save() to save the user and approved that user id from query or using any function. – j2r Nov 8 '12 at 5:26

You could have all users create accounts without the need for approval, and have user account A apply for the extra access needed using a contrib module. See my previous answer about organic groups and apply for role modules.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.