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 Jan 30, 2020. It is now read-only.
Pundit supports the concept of scopes (basically filters for lists and list-like data).
We could support them with a
scope
instrumenter receiving a lambda, that in turn receives the usualroot, arguments, context
arguments.We could then combine the
scope
instrumenter with theresource
instrumenter like this:or similar (with less boilerplate), but the gist is
resource
(->authorize
) ->scope
->resolve
.The text was updated successfully, but these errors were encountered: