I have three user roles
- End User
Merchant has more permissions privileges than Seller. Merchant can become a seller or an end user. When i created a user, i assigned all three roles to that user. But when the user is logged in, by default he should only have Merchant privileges. But he can switch to seller or End user from a drop down. The user will not have all permission privileges (Merchant + Seller + End User) at a time. He will only have a single role at a time. Is there any way to achieve this.