mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-28 03:05:04 -06:00
103ea6c9ae
* Authorization policy with deny reason Currently the authorization policy only returns boolean result. There are no way to give more context to denied requests. This adds the ability to policies to return a reason for denying the request. Applying backward compatible policy evaluation logic. Fixes #3056 Signed-off-by: Ajanthan Balachandran <balaajanthan@gmail.com> * docs/security:: make object-response the extra, not the default; update tests Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com> Co-authored-by: Ajanthan Balachandran <balaajanthan@gmail.com>