etcd/auth/authpb
Hitoshi Mitake 6bb96074da auth, etcdserver: permission of range requests
Currently the auth mechanism doesn't support permissions of range
request. It just checks exact matching of key names even for range
queries. This commit adds a mechanism for setting permission to range
queries. Range queries are allowed if a range of the query is [begin1,
end1) and the user has a permission of reading [begin2, range2) and
[begin1, end2) is a subset of [begin2, range2). Range delete requests
will follow the same rule.
2016-06-08 11:57:32 -07:00
..
auth.pb.go auth, etcdserver: permission of range requests 2016-06-08 11:57:32 -07:00
auth.proto auth, etcdserver: permission of range requests 2016-06-08 11:57:32 -07:00