Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Comments

Fix DISABLE_TOKEN_AUTH flag check in docker_registry/toolkit.py#921

Open
guoxiuyan wants to merge 1 commit intodocker-archive:masterfrom
guoxiuyan:Fix_Token_True
Open

Fix DISABLE_TOKEN_AUTH flag check in docker_registry/toolkit.py#921
guoxiuyan wants to merge 1 commit intodocker-archive:masterfrom
guoxiuyan:Fix_Token_True

Conversation

@guoxiuyan
Copy link

When we set DISABLE_TOKEN_AUTH to true, there are two functions that
should check the flag, but only one function does.

So we add the check in both check_token() and validate_parent_access().

Signed-off-by: Guo Xiuyan guoxiuyan@huawei.com

When we set DISABLE_TOKEN_AUTH to true, there are two functions that
should check the flag, but only one function does.

Signed-off-by: Guo Xiuyan <guoxiuyan@huawei.com>
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e682fda on guoxiuyan:Fix_Token_True into * on docker:master*.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants