Mohammad Samman
|
6ae1f6c6e4
|
etcdserver: extend auth api
allow recursive query on users and roles to get more detail
Fixes #3278
|
2015-09-21 00:51:18 -07:00 |
|
Mohammad Samman
|
e2e002f94e
|
etcdserver: handle malformed basic auth
return insufficient credentials if basic auth header is malformed
Fixes #3280
|
2015-08-25 12:37:24 -07:00 |
|
Yicheng Qin
|
18169e896c
|
etcdhttp: fix access check for multiple roles in auth
Check access for multiple roles should go through all roles.
|
2015-08-04 14:31:07 -07:00 |
|
Barak Michener
|
dd1a8fe330
|
etcdhttp: Improve test coverage surrounding auth
|
2015-07-30 14:21:08 -04:00 |
|
Xiang Li
|
e291dfd748
|
etcdhttp: improve user endpoint validation
Giving both roles and grant/revoke is not allowed.
Creating an existing user is not allowed.
Updating a non-existing user is not allowed.
|
2015-06-23 14:38:44 -07:00 |
|
Xiang Li
|
c8628c8fe5
|
auth: separate the role create and update path
Giving both permission and grant/revoke is not allowed.
Creating an existing role is not allowed.
Updating a non-existing is not allowed.
|
2015-06-23 13:15:32 -07:00 |
|
Xiang Li
|
bc61056912
|
etcdhttp: use correct http status const when writing http error
|
2015-06-23 12:40:30 -07:00 |
|
Barak Michener
|
d5a0e3ac6a
|
etcdhttp: Always strip password hash when returning users
|
2015-06-22 18:39:16 -04:00 |
|
Xiang Li
|
cad757efa0
|
etcdhttp: fix the response type for auth
|
2015-06-19 15:19:00 -07:00 |
|
Barak Michener
|
64ec8af91b
|
*: Rename security to auth
|
2015-06-15 18:18:50 -04:00 |
|