protojure / lib

A collection of libraries to support Protojure applications at runtime
https://protojure.readthedocs.io
Apache License 2.0
64 stars 14 forks source link

Add support for :authorizer option in routes/->tablesyntax #147

Closed ghaskins closed 1 year ago

ghaskins commented 1 year ago

This feature allows an optional authz predicate to be provided to the pedestal stack as an authz/interceptor slotted after the grpc-decode but before the grpc handler. It operates identitically to any use of authz/interceptor, but has the advantage of having access to the GRPC input parameters. This means that authz operations may factor in the specifics of a request, such as the resource being accessed.

Signed-off-by: Greg Haskins greg@manetu.com