0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-07-18 08:44:56 +00:00

7 Commits

Author SHA1 Message Date
ad hoc
b9ab41c485 ignore legacy auth when new auth is present (#1192) 2024-03-13 06:30:53 +00:00
ad hoc
1528128fce allow ddl override (#1187) 2024-03-11 15:00:26 +00:00
ad hoc
998d330428 extend test timeout (#1182) 2024-03-09 11:39:39 +00:00
Avinash Sajjanshetty
612aae4277 server: trim quotes in namespace string in attach statement (#1117)
* 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
ad hoc
adf36104ad fix bad attach name (#1113)
* add test

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

* allow legacy tokens with no perm claims

* fmt
2024-02-28 14:16:27 +00:00
ad hoc
52d8b8f1c4 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 edits
2024-02-26 13:56:20 +00:00