Very simple permissions in Rails
I was working on a very simple Rails API, using devise_token_auth and I need to authorize controller actions based on user roles. (Although, this should work fine for regular ol’ devise) I started out using cancancan and I even tried out pundit but they weren’t simple enough