Skip to content

Commit d6ce69e

Browse files
committed
short circuit deny
1 parent f169101 commit d6ce69e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/admin/authorization/index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ depend on specific fields of specific kinds of objects are handled by Admission
3333
Controllers.)
3434

3535
When multiple authorization modules are configured, each is checked in sequence,
36-
and if any module authorizes the request, then the request can proceed. If all
37-
modules deny the request, then the request is denied (HTTP status code 403).
36+
and if any module authorizes the request, then the request can proceed. If any
37+
module denies the request, the request is denied. If all modules have no opinion
38+
on the request, then the request is denied. A deny returns an HTTP status code
39+
403.
3840

3941
## Review Your Request Attributes
4042
Kubernetes reviews only the following API request attributes:
@@ -136,6 +138,7 @@ spec:
136138
verb: create
137139
status:
138140
allowed: true
141+
denied: false
139142
```
140143

141144
## Using Flags for Your Authorization Module

0 commit comments

Comments
 (0)