Files
etcd/etcdctl/ctlv3/command
Hitoshi Mitake 0e7690780f etcdctl: a flag for getting detailed information of a user
This commit adds a new flag --detail to etcdctl user get command. The
flag enables printing the detailed permission information of the user
like below example:

$ ETCDCTL_API=3 bin/etcdctl --user root:p user get u1
User: u1
Roles: r1 r2
$ ETCDCTL_API=3 bin/etcdctl --user root:p user get u1 --detail
User: u1

Role r1
KV Read:
        [k1, k5)
KV Write:
        [k1, k5)

Role r2
KV Read:
        a
        b
        [k8, k9)
KV Write:
        a
        b
        [k8, k9)
2016-06-22 13:29:48 +09:00
..
2016-05-12 20:51:39 -07:00
2016-05-12 20:51:39 -07:00
2016-05-12 20:51:39 -07:00
2016-05-12 20:51:39 -07:00
2016-05-12 20:51:39 -07:00
2016-05-12 20:51:39 -07:00
2016-05-12 20:51:39 -07:00