Commit graph

39 commits

Author SHA1 Message Date
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
bb53bab0c0 rename "capability" -> "tag" 2022-03-29 20:22:03 +00:00
ec0f7890ef rename rollback 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
186ac0eab3 User.create() methods 2022-03-29 00:01:28 +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
499c97a28a Capability -> UserCapabilityType 2022-03-28 21:41:49 +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
3d83ddb6cc Config.load_sync -> Config._ 2022-03-28 02:15:42 +00:00
b7179e7cfc limit query 2022-03-28 02:03:31 +00:00
19dd5aaee7 use correct database URI 2022-03-28 02:00:58 +00:00
ae8894f5cc repaired admin routes 2022-03-28 01:52:56 +00:00
12432286bf rename db_new -> db 2022-03-28 01:34:52 +00:00
0619f00f6a rework common and admin router for new db 2022-03-28 01:31:37 +00:00
c47fa5a89b split db.schemas -> db.schemata package 2022-03-25 23:54:19 +00:00
972359cb49 router tags 2022-03-24 23:45:01 +00:00
e3acc9b7e0 User update 2022-03-20 13:14:12 +00:00
e49a993676 documentation & some minor refactoring 2022-03-20 03:45:40 +00:00
bf8cb86cee brevity 2022-03-20 02:32:40 +00:00
00bdf88b6e Connection.use() 2022-03-20 00:12:56 +00:00
e955927644 doc 2022-03-19 23:56:21 +00:00
1c1ea694d1 don't make everyone an admin :) 2022-03-19 19:24:43 +00:00
5eb9d4d113 move caps to "User" schema 2022-03-19 18:31:03 +00:00
b70806195e "install" endpoint 2022-03-19 17:11:52 +00:00
f56c2fb19b get_current_user into deps 2022-03-19 04:07:19 +00:00
900131fae8 add_user data into req body 2022-03-19 03:31:41 +00:00
4959f1987c some renames 2022-03-19 02:38:32 +00:00
ba68692b9d more asyncio 2022-03-19 02:28:18 +00:00
8194027c36 refactor CRUD utils 2022-03-18 23:45:09 +00:00
b42a5b44f3 "auth" -> "user" 2022-03-18 23:04:28 +00:00
98c89991b4 pydantic settings, improved scoping 2022-03-18 22:43:42 +00:00
d9ebd7db0b capability handling 2022-03-18 19:15:45 +00:00
4a6f8e43ef imports 2022-03-18 18:24:09 +00:00
746ca51bdd adhere to a plan for a change :) 2022-03-18 18:22:17 +00:00