ManagementAuthorize
Defined in: surface/types.ts:94
Authorizes one management read or mutation operation.
Return false to reject the request with 403. Throwing is left to the caller and will
be handled as a normal oRPC error.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TContext | unknown |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | ManagementAuthorizationInput<TContext> |
Returns
Section titled “Returns”boolean | Promise<boolean>