You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
I've got a strange case where an object is reported as not accessible, but should be (according to accessible_by). I tested this using the following lines which should be self-descriptive (byebug in a controller):
I've got a strange case where an object is reported as not accessible, but should be (according to
accessible_by
). I tested this using the following lines which should be self-descriptive (byebug in a controller):In the
show
and theedit
actions, this ends up in an unauthorized exception. I describe the permissions in the ability using the following code:The customer model is simple:
I think this should be a working sample according to docs. Any suggestions?
The text was updated successfully, but these errors were encountered: