Skip to content

Commit 8d4ccd1

Browse files
committed
Merge pull request moby#22459 from twistlock/authorization_docs_fix
Remove response modification sections from authorization design doc
2 parents 1c1a128 + 6380964 commit 8d4ccd1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/extend/plugins_authorization.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,17 +195,10 @@ should implement the following two methods:
195195
{
196196
"Allow": "Determined whether the user is allowed or not",
197197
"Msg": "The authorization message",
198-
"Err": "The error message if things go wrong",
199-
"ModifiedBody": "Byte array containing a modified body of the raw HTTP body (or null if no changes required)",
200-
"ModifiedHeader": "Byte array containing a modified header of the HTTP response (or null if no changes required)",
201-
"ModifiedStatusCode": "int containing the modified version of the status code (or 0 if not change is required)"
198+
"Err": "The error message if things go wrong"
202199
}
203200
```
204201

205-
The modified response enables the authorization plugin to manipulate the content
206-
of the HTTP response. In case of more than one plugin, each subsequent plugin
207-
receives a response (optionally) modified by a previous plugin.
208-
209202
### Request authorization
210203

211204
Each plugin must support two request authorization messages formats, one from the daemon to the plugin and then from the plugin to the daemon. The tables below detail the content expected in each message.

0 commit comments

Comments
 (0)