0

I created 2 roles on my site: Buyer and Seller

I used auto assign role to allow the user choose a role on sign up.

I then created an additional profile for seller using profile 2. (The buyer is supposed to be logged in immediately he signs up)

Using rules, i tried to redirect the user who chooses the seller role to the page setup with profile 2, but it comes up with access denied, you are not authorized to access this page.

Kindly assist.

1 Answer 1

1

The redirection is happening before the login is processed, hence the error. The way I'd handle this would be to do the check when the profile page is viewed, rather than during the login process. So the trigger for the action is on viewing a page, specifying the user view page and adding a condition that the user being viewed is a seller.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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