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.
Parameters
Section titled “Parameters”source
Section titled “source”Omit<AccessContext, "operation" | "model"> & object
options?
Section titled “options?”ResolveOptions = {}
Returns
Section titled “Returns”Promise<ResolvedAccess>