Function: roleWorkflowAccess()
roleWorkflowAccess(
role,workflowId):WorkflowRoleAccess
Defined in: packages/sdk/src/types/core-types.ts:141
A role's effective access to one workflow: the scope cascade first, then the explicit association row.
Every surface that gates on workflow access must go through this. Two of them
previously disagreed — the workflow Access dialog cascaded workflows:admin
while Create Chat counted only explicit rows — so a Manager was shown as
having full access on one screen and greyed out of every workflow on the
other.
Parameters
role
workflowId
number