You’re not receiving notifications from this thread.
Multiple role based authorization
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.