Merge branch 'develop' into approval-workflows
This commit is contained in:
@@ -64,6 +64,8 @@ const EXAM_MANAGEMENT: PermissionLayout[] = [
|
||||
{label: "Delete Level", key: "delete_level"},
|
||||
{label: "Set as Private/Public", key: "update_exam_privacy"},
|
||||
{label: "View Confidential Exams", key: "view_confidential_exams"},
|
||||
{label: "Create Confidential Exams", key: "create_confidential_exams"},
|
||||
{label: "Create Public Exams", key: "create_public_exams"},
|
||||
{label: "View Statistics", key: "view_statistics"},
|
||||
];
|
||||
|
||||
|
||||
@@ -72,7 +72,9 @@ export type RolePermission =
|
||||
| "configure_workflows"
|
||||
| "edit_workflow"
|
||||
| "delete_workflow"
|
||||
| "view_confidential_exams";
|
||||
| "view_confidential_exams"
|
||||
| "create_confidential_exams"
|
||||
| "create_public_exams";
|
||||
|
||||
export const DEFAULT_PERMISSIONS: RolePermission[] = [
|
||||
"view_students",
|
||||
@@ -157,4 +159,6 @@ export const ADMIN_PERMISSIONS: RolePermission[] = [
|
||||
"view_workflows",
|
||||
"edit_workflow",
|
||||
"delete_workflow",
|
||||
"create_confidential_exams",
|
||||
"create_public_exams",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user