Add entityId to workflow. Allow filter workflows based on entityId. Restrict creation of workflows based on user entities.

This commit is contained in:
Joao Correia
2025-01-22 16:39:18 +00:00
parent 8f8d5e5640
commit 4895f00184
5 changed files with 124 additions and 29 deletions

View File

@@ -4,6 +4,7 @@ import { CorporateUser, MasterCorporateUser, TeacherUser, userTypeLabels } from
export interface ApprovalWorkflow {
id: string,
name: string,
entityId: string,
modules: Module[],
status: ApprovalWorkflowStatus,
steps: WorkflowStep[],