Commit 85e20ae
committed
feat: update to latest docbox-http abstraction and implement authorizer
logic
The docbox-http logic is now in its own shared crate so all of that has
been moved out
Added a middleware to handle taking the authorized tenant and user from
the authorizer context and passing them as the expected user and tenant
headers
Removed warning for no API key, in this case its not "recommended for
security" as the lambda will already have some sort of authorizer
sitting in front of it1 parent 068ed93 commit 85e20ae
38 files changed
Lines changed: 250 additions & 4314 deletions
File tree
- lambdas
- http
- src
- background
- extensions
- middleware
- models
- routes
- presigned-cleanup
- src
- upload-completion
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 35 | | |
44 | 36 | | |
45 | 37 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 38 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments