custom reason in authz policy (#3137)
* 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>
S
Stephan Renatus committed
103ea6c9ae61d740ef3ef01c036759bf7e4efbc3
Parent: 3f48e1f
Committed by GitHub <noreply@github.com>
on 2/9/2021, 5:02:48 PM