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

Method authorize_sql

crates/client-api/src/lib.rs:632–638  ·  view source on GitHub ↗
(
        &self,
        subject: Identity,
        database: Identity,
    )

Source from the content-addressed store, hash-verified

630 }
631
632 fn authorize_sql(
633 &self,
634 subject: Identity,
635 database: Identity,
636 ) -> impl Future<Output = Result<AuthCtx, Unauthorized>> + Send {
637 (**self).authorize_sql(subject, database)
638 }
639}
640
641pub fn log_and_500(e: impl std::fmt::Display) -> ErrorResponse {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected