0
I have a handful of doubts in an interesting scenario, I hope you can give me a little help.
I am using in an angular application the package ng-token-auth for authentication, for permissions control the package angular-permission, my Rails backend is configured with devise_token_auth for authentication, Pundit for authorisation and rolify for Multiplus profiles.
I need to implement and configure for my frontend with roles and Permissions using the package angular-permission, at that point I don’t know the best way to do it.
I must pass the rules and permissions along with the user session? This Issue explains it a little as it should be.
I would like your opinion and experience.