Home > Net >  how to add User roles like buyer seller admin and show homepage based on his roles
how to add User roles like buyer seller admin and show homepage based on his roles

Time:02-17

I need a code that help me

  1. Signup/Signin

  2. Send welcome email, account confirmation email

  3. Implement forgot password

  4. User Roles Customer, Seller Show homepage based on role

  5. Cancel account

CodePudding user response:

For authentication(Signup/Signin, send welcome email, account confirmation email, forgot password, cancel account) you can take a look at devise and for authorization(User roles) you can take a look at cancancan.

  • Related