Skip to main content

Multiple role based authorization

General • Asked by Bruno Wego

Hello friends, I have a handful of doubts in an interesting senario, I hope can give me a little help.

My application uses angular with ng-token-auth for authentication, angular-permission to control permissions, my backend is configured with devise_token_auth for authentication, authorization with pundit and for different profiles rolify.

I need implement and configure my frontend with roles and permissions using the angular-permission package, at this point I not know the best way to do this.

I need pass the rules and permissions with the user's session? This issue explains a little as it should be.

I would like hear different opinions and experiences. Thanks.


How did you go with this Bruno? I am just about to implement this on a little app I have


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.