eargollo / soccer

0 stars 0 forks source link

Add authorization and admin type of user #29

Open eargollo opened 9 months ago

eargollo commented 9 months ago
          For authorization I recommend you use [Pundit](https://github.com/varvet/pundit).

You may also want to look into CanCanCan.

Both are used at Shopify. Pundit is more popular these days because, imo, it's better. CanCanCan used to be the most popular gem for authorization, but now it's mostly used in legacy apps.

_Originally posted by @csalvato in https://github.com/eargollo/soccer/pull/23#discussion_r1404479591_