Skip to main content

I have 2 roles (driver, owner) with very different permissions on my site. I want to allow Facebook Connect during registration, so I am resigned to a 2-step registration process:

  1. Register as a basic user via Facebook ConnectFacebook Connect or standard Drupal registration.
  2. Basic user selects the appropriate role.

I will auto-assign the role "basic" upon registration and present a block to all users of the basic role which asks them to select Driver or Owner as their account type. Upon clicking the appropriate link, their user account will be updated with the new role. I can use RulesRules to remove the "basic" role whenever an account has been saved with one of the other roles.

How can I assign a role using a link displayed in a block?

Thank you.

I have 2 roles (driver, owner) with very different permissions on my site. I want to allow Facebook Connect during registration, so I am resigned to a 2-step registration process:

  1. Register as a basic user via Facebook Connect or standard Drupal registration.
  2. Basic user selects the appropriate role.

I will auto-assign the role "basic" upon registration and present a block to all users of the basic role which asks them to select Driver or Owner as their account type. Upon clicking the appropriate link, their user account will be updated with the new role. I can use Rules to remove the "basic" role whenever an account has been saved with one of the other roles.

How can I assign a role using a link displayed in a block?

Thank you.

I have 2 roles (driver, owner) with very different permissions on my site. I want to allow Facebook Connect during registration, so I am resigned to a 2-step registration process:

  1. Register as a basic user via Facebook Connect or standard Drupal registration.
  2. Basic user selects the appropriate role.

I will auto-assign the role "basic" upon registration and present a block to all users of the basic role which asks them to select Driver or Owner as their account type. Upon clicking the appropriate link, their user account will be updated with the new role. I can use Rules to remove the "basic" role whenever an account has been saved with one of the other roles.

How can I assign a role using a link displayed in a block?

Thank you.

Source Link

Allow user to choose role immediately after registration

I have 2 roles (driver, owner) with very different permissions on my site. I want to allow Facebook Connect during registration, so I am resigned to a 2-step registration process:

  1. Register as a basic user via Facebook Connect or standard Drupal registration.
  2. Basic user selects the appropriate role.

I will auto-assign the role "basic" upon registration and present a block to all users of the basic role which asks them to select Driver or Owner as their account type. Upon clicking the appropriate link, their user account will be updated with the new role. I can use Rules to remove the "basic" role whenever an account has been saved with one of the other roles.

How can I assign a role using a link displayed in a block?

Thank you.