mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
d40ff6f79b
This commit updates the server's basic authorizer to include the deserialized message body in the input to the authorization policy so that the latter can make decisions based on policy query input documents. The authorizer caches the parsed message body on the request context and the server retrieves the value to avoid parsing twice. Signed-off-by: Torin Sandall <torinsandall@gmail.com>