Skip to content

resolveAccess

resolveAccess(source, ctx, options?): Promise<ResolvedAccess>

Defined in: packages/schema/src/access/resolve.ts:124

Resolves everything a request may do with a resource: operations, row filters, readable and writable columns. Pure with respect to the database; downstream code applies the result and must not re-decide access.

AccessSource

Omit<AccessContext, "operation" | "model"> & object

ResolveOptions = {}

Promise<ResolvedAccess>