mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-18 08:16:58 +00:00
* 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
10 lines
274 B
Plaintext
10 lines
274 B
Plaintext
---
|
|
source: libsql-server/tests/standalone/attach.rs
|
|
expression: "bar_conn.execute(\"ATTACH foo as foo\", ()).await.unwrap_err()"
|
|
---
|
|
Hrana(
|
|
Api(
|
|
"{\"error\":\"Internal Error: `Not authorized to execute query: Namespace `foo` doesn't allow attach`\"}",
|
|
),
|
|
)
|