MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / authorize_sql

Method authorize_sql

crates/client-api/src/routes/database.rs:1916–1918  ·  view source on GitHub ↗
(&self, _subject: Identity, _database: Identity)

Source from the content-addressed store, hash-verified

1914 }
1915
1916 async fn authorize_sql(&self, _subject: Identity, _database: Identity) -> Result<AuthCtx, Unauthorized> {
1917 Err(Unauthorized::InternalError(anyhow::anyhow!("unused")))
1918 }
1919 }
1920
1921 /// Tests that requests to user-defined routes under `/database/:name-or-identity/routes`

Callers 2

handle_websocketFunction · 0.45
sql_directFunction · 0.45

Calls 2

ErrFunction · 0.50
InternalErrorClass · 0.50

Tested by

no test coverage detected