From 41ad3646461bc4b2029e0d1b45f57bcb3cfdf45c Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 27 Jul 2017 10:58:03 -0400 Subject: [PATCH] Fix Typo - "SubjectAccessReviewStatus" -> "status" - "SubjectAccessReview" is the value of the "kind" field of the request and response. The webhook has to fill in the "status" field to indicate authorization passed or failed. - For consistency highlight spec better using back ticks --- docs/admin/authorization/webhook.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/authorization/webhook.md b/docs/admin/authorization/webhook.md index 1ceaa7a23b..6d2adc9d6f 100644 --- a/docs/admin/authorization/webhook.md +++ b/docs/admin/authorization/webhook.md @@ -86,9 +86,9 @@ An example request body: } ``` -The remote service is expected to fill the SubjectAccessReviewStatus field of +The remote service is expected to fill the `status` field of the request and respond to either allow or disallow access. The response body's -"spec" field is ignored and may be omitted. A permissive response would return: +`spec` field is ignored and may be omitted. A permissive response would return: ```json {