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

auth: use canonical path for pre-defined guest role #3868

Merged
merged 1 commit into from
Nov 16, 2015

Conversation

xiang90
Copy link
Contributor

@xiang90 xiang90 commented Nov 16, 2015

Fix #3784.

Manually tested.

@gyuho
Copy link
Contributor

gyuho commented Nov 16, 2015

LGTM. Tried this patch with following command, and it worked:

$ etcdctl -u root:root role add guest
Role guest created

$ etcdctl -u root:root role get guest
Role: guest
KV Read:
KV Write:

$ etcdctl -u root:root role revoke guest -path=/* -readwrite
Role guest updated

xiang90 added a commit that referenced this pull request Nov 16, 2015
auth: use canonical path for pre-defined guest role
@xiang90 xiang90 merged commit fdd87cd into etcd-io:master Nov 16, 2015
@xiang90 xiang90 deleted the fix_auth_guest branch November 16, 2015 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants