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

etcdctl: handle empty key permission correctly #8514

Merged
merged 2 commits into from
Sep 13, 2017

Commits on Sep 13, 2017

  1. etcdctl: handle empty key permission correctly

    Current `etcdctl role grant-permission` doesn't handle an empty key
    ("") correctly. Because the range permissions are treated as
    BytesAffineInterval internally, just specifying the empty key as a
    beginning of range introduces an invalid permission which doesn't work
    and betray users' intuition. This commit fix the way of handling empty
    key as a prefix or from key in permission granting.
    
    Fix etcd-io#8494
    mitake committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    1ae6f16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4c0e11 View commit details
    Browse the repository at this point in the history