canCallOperation
Function: canCallOperation()
canCallOperation(
context,operationId):boolean
Defined in: packages/core/src/core/operations.ts:54
Check whether the context's session is allowed to call an operation
Unlike checkOperation, this never throws: unknown operations and permission queries that cannot be evaluated return false.
Parameters
context
the execution context holding the session
operationId
string
the operation identifier
Returns
boolean
true if the operation exists and its permission (if any) accepts the session