1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/authorization
Anusha Ragunathan 38de272bd4 When authz plugin is disabled, remove from authz middleware chain.
When the daemon is configured to run with an authorization-plugin and if
the plugin is disabled, the daemon continues to send API requests to the
plugin and expect it to respond. But the plugin has been disabled. As a
result, all API requests are blocked. Fix this behavior by removing the
disabled plugin from the authz middleware chain.

Tested using riyaz/authz-no-volume-plugin and observed that after
disabling the plugin, API request/response is functional.

Fixes #31836

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-03-22 12:07:39 -07:00
..
api.go Fixed a typo within pkg/authorization/api.go 2017-01-17 21:51:16 -05:00
authz.go Rename Remote API to Engine API 2016-11-22 12:49:38 +00:00
authz_unix_test.go Use const http status code instead of just numbers see #24783 2016-07-19 10:40:20 +03:00
middleware.go When authz plugin is disabled, remove from authz middleware chain. 2017-03-22 12:07:39 -07:00
plugin.go When authz plugin is disabled, remove from authz middleware chain. 2017-03-22 12:07:39 -07:00
response.go Fix AuthZ plugins headers change issue 2016-08-23 21:08:23 -07:00