0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-21 09:38:10 +00:00

7 Commits

Author SHA1 Message Date
b9ab41c485 ignore legacy auth when new auth is present () 2024-03-13 06:30:53 +00:00
1528128fce allow ddl override () 2024-03-11 15:00:26 +00:00
998d330428 extend test timeout () 2024-03-09 11:39:39 +00:00
612aae4277 server: trim quotes in namespace string in attach statement ()
* Add a regression test when UUIDs are used in attach
statements

Also, added a test to check if the UUID is wrapped
in quotes

* bugfix: trim namespace string if it is wrapped in quotes

the client might send namespace wrapped in quotes in case of uuids,
so we will just trim the string.
2024-03-01 15:08:01 +00:00
adf36104ad fix bad attach name ()
* add test

* fix auth using attach alias instead of target
2024-02-29 14:15:43 +00:00
16c6e40335 fix auth malformed token ()
* add tests

* allow legacy tokens with no perm claims

* fmt
2024-02-28 14:16:27 +00:00
52d8b8f1c4 Multi-scopes auth & Attach fix ()
* 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 edits
2024-02-26 13:56:20 +00:00