action_policy icon indicating copy to clipboard operation
action_policy copied to clipboard

feat: pass with: as string or symbol to perform policy lookup that respects the current namespace

Open erickreutz opened this issue 3 years ago • 1 comments

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.

erickreutz avatar Feb 21 '22 08:02 erickreutz

Could you please provide an example (or a test case in the PR 😉) demonstrating a use case for this change?

palkan avatar Mar 16 '22 12:03 palkan

Closed as stale

palkan avatar Jan 18 '23 01:01 palkan