getCaslPrincipal
getCaslPrincipal(
context?):CaslPrincipal|undefined
Defined in: packages/pipeline-casl/src/helpers/authorizer.ts:20
The principal that ability was built for; derive security-scoped keys from it.
Parameters
Section titled “Parameters”context?
Section titled “context?”IPipelineContext<unknown, unknown>
Returns
Section titled “Returns”CaslPrincipal | undefined