Commit graph

109 commits

Author SHA1 Message Date
423cc009f8 certificate renewal 2022-04-06 00:34:37 +00:00
e6fe35d14e EASYRSA global object 2022-04-05 22:39:09 +00:00
c0388d58c1 few renames 2022-04-05 22:34:25 +00:00
bca5b2b55c global object SETTINGS 2022-04-05 21:33:48 +00:00
2d755b8e3d /{device_id}/issue mostly done 2022-04-05 01:55:35 +00:00
d8bdb46a5c check issue permission 2022-04-02 21:24:44 +00:00
b421d6f79b device: request_certificate (no "approval" check) 2022-04-01 17:51:01 +00:00
e6c270a0fa missing 401 2022-04-01 17:15:56 +00:00
5b68f5ef7e docstrings: Added HTTP status 2022-04-01 17:05:57 +00:00
821d72a773 init pki endpoint 2022-04-01 15:40:08 +00:00
72fc209349 HTTP 201 2022-04-01 06:35:28 +00:00
b291c20ed6 User.is_admin property 2022-04-01 06:20:20 +00:00
3b79efaa80 brevity 2022-04-01 00:14:12 +00:00
583d1de06a error messages 2022-03-31 16:49:04 +00:00
a88168b8d4 fix: device creation 2022-03-31 16:48:52 +00:00
5d0d996288 resolved all warnings 2022-03-31 16:32:07 +00:00
23a806e325 create /service router 2022-03-30 21:19:06 +00:00
1f4a9994a6 get_current_config dependable 2022-03-30 20:57:09 +00:00
d98d234cc1 formatting 2022-03-30 20:55:53 +00:00
c1e7f31501 main_router prefix 2022-03-30 20:43:31 +00:00
e1ae186382 typo/regression 2022-03-30 10:53:52 +00:00
e078c7b094 minor refactoring 2022-03-30 10:53:36 +00:00
598b0ca2cb remove NEEDS_ADMIN 2022-03-30 02:07:22 +00:00
3b66565481 remove get_current_user_if_admin 2022-03-30 02:02:45 +00:00
9b5a98e0c0 rework User methods 2022-03-30 01:51:58 +00:00
03d3a86668 basic permissions system 2022-03-29 23:36:23 +00:00
bb53bab0c0 rename "capability" -> "tag" 2022-03-29 20:22:03 +00:00
e11f96b0af dirty commit 2022-03-29 16:35:41 +00:00
fdce81c5a3 refactor get_user_by_name_if_editable 2022-03-29 16:12:55 +00:00
5990577699 possible security flaw 2022-03-29 16:12:29 +00:00
617ae92d72 deleting a device 2022-03-29 15:56:25 +00:00
0c8298871f several minor fixes 2022-03-29 15:56:25 +00:00
ec0f7890ef rename rollback 2022-03-29 15:56:25 +00:00
fdc85bf529 don't delete yourself 2022-03-29 15:56:25 +00:00
f058f29d9a use kwarg in User.create 2022-03-29 15:56:25 +00:00
8a0058f7f0 cleanup in _common 2022-03-29 00:13:38 +00:00
d3ed11fce4 use get_user_by_name 2022-03-29 00:10:24 +00:00
186ac0eab3 User.create() methods 2022-03-29 00:01:28 +00:00
865e712ea5 POST /device route 2022-03-29 00:01:12 +00:00
cd3cccb540 minor bugs 2022-03-28 23:22:32 +00:00
567b863742 comment 2022-03-28 22:25:37 +00:00
dbbe7a8c35 syntax error 2022-03-28 22:20:25 +00:00
6254daa51d check: user can login, "admin" can do everything 2022-03-28 22:17:31 +00:00
a465dba92e side effects 2022-03-28 22:07:12 +00:00
21b85d7cfa formatting 2022-03-28 21:41:56 +00:00
499c97a28a Capability -> UserCapabilityType 2022-03-28 21:41:49 +00:00
1b24861e48 Docstrings 2022-03-28 20:58:40 +00:00
3d2abbc39b fix user router 2022-03-28 20:18:19 +00:00
a5783a0c40 fix: typing 2022-03-28 20:04:49 +00:00
799b2f7585 simplify set_config 2022-03-28 02:38:52 +00:00