|
5872b80ed5
|
Merge pull request #15512 from engow/automated-cherry-pick-of-#15432-origin-release-3.5
[3.5] server/auth: fix auth panic bug when user changes password
|
2023-04-08 06:22:37 +08:00 |
|
|
e6eeca6885
|
server/auth: disallow creating empty permission ranges
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
Co-authored-by: Benjamin Wang <wachao@vmware.com>
|
2023-04-03 22:55:55 +09:00 |
|
|
f7ac9dfcd6
|
sever/auth: fix addUserWithNoOption of store_test
Signed-off-by: engow <engow@hotmail.com>
|
2023-03-30 19:13:33 +08:00 |
|
|
dcb1bf6078
|
server/auth: fix auth panic bug when user changes password
Signed-off-by: tangcong <tangcong506@foxmail.com>
Signed-off-by: engow <engow@hotmail.com>
|
2023-03-30 19:13:33 +08:00 |
|
|
1ea808b5ba
|
Backport go_srcs_in_module changes and fix goword failures.
Signed-off-by: James Blair <mail@jamesblair.net>
|
2023-02-24 22:01:41 +13:00 |
|
|
efb9480b96
|
server: add a unit test case for authStore.Reocver() with empty rangePermCache
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
|
2022-10-29 13:26:31 +09:00 |
|
|
e15c005fef
|
server/auth: protect rangePermCache with a RW lock
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
|
2022-07-19 15:56:12 +09:00 |
|
|
e27effa250
|
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
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
|
2021-06-04 15:34:22 -07:00 |
|
|
fe3254aee3
|
Remove explicit authStore->ConsistencyIndex updates, as they are taken care by hook.
|
2021-05-04 15:38:23 +02:00 |
|
|
d7d110b5a8
|
mvcc/backend tests: Refactor: Do not mix testing&prod code.
|
2021-04-21 09:43:13 +02:00 |
|
|
03f55eeb2c
|
Make NewTmpBackend use testing tmp location (so cleanup).
|
2021-03-26 13:54:55 +01:00 |
|
|
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 |
|
|
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 |
|