-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with implementation in Rails API #22
Comments
Hi Kingsley! Thanks for using Authz! We need a bit more information to help you debug this issue.
|
Any chance we can get access to the repo so that we can take a look OR get access to a dummy app that is configured similarly and exhibits the same behaviour? If not, can you install the Better Errors gem |
Closing due to inactivity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, thanks for this gem, it fits perfectly with what my team wants, but I am having issues with implementing it in the API we have. Using the demo app as a guide, alongside the documentation of the gem, I have been able to create a business process, role and controller actions. I was also able to assign the role to a user that I have in my DB. But when I try to access the resource that the user assigned role has access to I get a 500 status error, I am unsure where that's coming from.
Here is what my application_controller.rb file looks like.
Here is the controller action
I didn't tamper with the configuration file. Any idea what I could possibly be doing wrong? Thanks.
The text was updated successfully, but these errors were encountered: