Created the new permissions as an example

This commit is contained in:
Tiago Ribeiro
2025-02-06 18:48:31 +00:00
parent 63604b68e2
commit 36afde8aa4
3 changed files with 368 additions and 360 deletions

View File

@@ -67,7 +67,11 @@ export type RolePermission =
| "pay_entity"
| "view_payment_record"
| "view_approval_workflows"
| "update_exam_privacy";
| "update_exam_privacy"
| "view_workflows"
| "create_workflow"
| "edit_workflow"
| "delete_workflow";
export const DEFAULT_PERMISSIONS: RolePermission[] = [
"view_students",
@@ -149,4 +153,8 @@ export const ADMIN_PERMISSIONS: RolePermission[] = [
"pay_entity",
"view_payment_record",
"update_exam_privacy",
"create_workflow",
"view_workflows",
"edit_workflow",
"delete_workflow",
];