Add entityId to workflow. Allow filter workflows based on entityId. Restrict creation of workflows based on user entities.
This commit is contained in:
@@ -65,7 +65,8 @@ export type RolePermission =
|
||||
"view_student_record" |
|
||||
"download_student_record" |
|
||||
"pay_entity" |
|
||||
"view_payment_record"
|
||||
"view_payment_record" |
|
||||
"view_approval_workflows"
|
||||
|
||||
export const DEFAULT_PERMISSIONS: RolePermission[] = [
|
||||
"view_students",
|
||||
@@ -74,7 +75,8 @@ export const DEFAULT_PERMISSIONS: RolePermission[] = [
|
||||
"view_classrooms",
|
||||
"view_entity_roles",
|
||||
"view_statistics",
|
||||
"download_statistics_report"
|
||||
"download_statistics_report",
|
||||
"view_approval_workflows"
|
||||
]
|
||||
|
||||
export const ADMIN_PERMISSIONS: RolePermission[] = [
|
||||
|
||||
Reference in New Issue
Block a user