jianfei.zhang
|
c26d7f5389
|
fix: code cleanup
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
|
2022-07-26 22:07:22 +08:00 |
|
Hitoshi Mitake
|
de09174a3f
|
server/auth: protect rangePermCache with a RW lock
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
|
2022-07-02 23:23:13 +09:00 |
|
Marek Siarkowicz
|
804fddf921
|
tests: Use zaptest.NewLogger in tests
|
2022-04-04 13:03:15 +02:00 |
|
Linhai
|
98b0d901e8
|
fixing goroutine leaks
|
2021-12-24 15:57:38 -05:00 |
|
Marek Siarkowicz
|
bc16461995
|
server: Use zaptest in bucket tests and move backendMock to separate file
|
2021-07-20 18:12:02 +02:00 |
|
Marek Siarkowicz
|
a0554a6bd3
|
etcdserver: Create AuthBackend interface
|
2021-07-20 18:09:53 +02:00 |
|
Marek Siarkowicz
|
5e40a8b00c
|
server: Create storage package and move mvcc files to it
|
2021-07-12 15:37:21 +02:00 |
|
J. David Lowe
|
115c694af6
|
etcdserver: don't attempt to grant nil permission to a role
Prevent etcd from crashing when given a bad grant payload, e.g.:
$ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/add
{"header":{"cluster_id":"14841639068965178418", ...
$ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/grant
curl: (52) Empty reply from server
|
2021-06-04 14:20:02 -07:00 |
|
赵延
|
64b01a7a8d
|
Enhance the root permission, when root role exist, it always return rootPerm. (#13006)
etcdctl role grant-permission root readwrite foo.
see etcdctl role get root output.
Before:
Role root
KV Read:
foo
KV Write:
foo
After:
Role root
KV Read:
[, <open ended>
KV Write:
[, <open ended>
|
2021-05-24 14:58:00 -07:00 |
|
Piotr Tabor
|
fe3254aee3
|
Remove explicit authStore->ConsistencyIndex updates, as they are taken care by hook.
|
2021-05-04 15:38:23 +02:00 |
|
Piotr Tabor
|
d7d110b5a8
|
mvcc/backend tests: Refactor: Do not mix testing&prod code.
|
2021-04-21 09:43:13 +02:00 |
|
Piotr Tabor
|
03f55eeb2c
|
Make NewTmpBackend use testing tmp location (so cleanup).
|
2021-03-26 13:54:55 +01:00 |
|
Piotr Tabor
|
aaf423e962
|
server: Update imports.
find -name '*.go' | xargs sed -i --follow-symlinks 's|etcd/v3/|etcd/server/v3/|g'
|
2020-10-26 13:02:32 +01:00 |
|
Piotr Tabor
|
4a5e9d1261
|
server: Move server files to 'server' directory.
26 git mv mvcc wal auth etcdserver etcdmain proxy embed/ lease/ server
36 git mv go.mod go.sum server
|
2020-10-26 12:57:19 +01:00 |
|