action_policy
action_policy copied to clipboard
feat: pass with: as string or symbol to perform policy lookup that respects the current namespace
When overriding authorization_namespace and deciding the namespace based on the request context it would be nice if we could pass the with: param of authorize as a string or symbol and it would lookup the policy while respecting the current namespace.
Could you please provide an example (or a test case in the PR 😉) demonstrating a use case for this change?
Closed as stale