0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-18 08:16:58 +00:00
Files
libsql/libsql-server/tests/standalone/snapshots/tests__standalone__attach__attach_auth-3.snap
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

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`\"}",
),
)