Commit 52d8b8f
authored
Multi-scopes auth & Attach fix (#1076)
* test snapshots
* allow multi-scope auth
* hors-sujet: fix C compile warning
* update jwt and add hashbrown feature
* replace Auth with RequestContext
* extract RequestContext
* fix auth check for multi-scopes
* pass NamespaceName in StmtKind::Attach
* fallback to global auth if key is not set in ns config
* add allow_attach to namespace creation
* return meta store from namespace store
* test attach
* fmt
* review edits1 parent 82cd274 commit 52d8b8f
40 files changed
Lines changed: 1155 additions & 516 deletions
File tree
- libsql-ffi/bundled/src
- libsql-server
- src
- auth
- user_auth_strategies
- connection
- hrana
- http
- ws
- http
- admin
- user
- namespace
- rpc
- tests/standalone
- snapshots
- libsql-sqlite3/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 | |
|---|---|---|---|
| |||
131315 | 131315 | | |
131316 | 131316 | | |
131317 | 131317 | | |
131318 | | - | |
| 131318 | + | |
131319 | 131319 | | |
131320 | | - | |
| 131320 | + | |
131321 | 131321 | | |
131322 | 131322 | | |
131323 | 131323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
0 commit comments