-3

I want to add a two way authorization in my ruby app, just like freelancer has for work and hire. Is there an easy way to do this. In my app there will be two types of users buyer and seller. Seller will have the power to post adds and buyer can bid on them. that's all

David Brossard
  • 13,584
  • 6
  • 55
  • 88

1 Answers1

2

For authentication purpose, you can use Devise and for roles (buyer/seller or client/freelancer) management, you have CanCan

You can refer to this tutorial: Rails Authentication with Devise & CanCan

RAJ
  • 9,697
  • 1
  • 33
  • 63