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
There is currently a bug with ResourceQuery::authorizeResource(), which is strict typed to return a bool value.
But, if we check the Authorizer::index() method (and other methods like it), it can return bool or Response.
This is due to the updated Authorizer implementation in the core package, which now uses inspect instead of check. IMO, ResourceQuery and any other code which uses Authorizer methods should be updated in consequence.