Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Dependencies #46

Open
ghost opened this issue Nov 2, 2017 · 1 comment
Open

Version Dependencies #46

ghost opened this issue Nov 2, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 2, 2017

Creating the following policy allows all users to run all commands: {"name":"policy_1","users":[""],"actions":[""]} which is what was expected. However, running the following policy blocks all users from running any commands (even the root user: {"name":"policy_1","users":["root"],"actions":[""]}. I am running an older docker version (intentionally) which may be the reason the second policy fails. Are there any authz-broker docker version dependencies which would prevent this policy from working?

@liron-l
Copy link
Contributor

liron-l commented Nov 2, 2017

@eets8305 you need to use client certificate to authenticate users, unix users are not supported by the docker authorization framework (not specifically this sample plugin).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant