ENCOA-292

This commit is contained in:
Tiago Ribeiro
2024-12-23 09:38:49 +00:00
parent d938535d9f
commit f1d97aa6c9
2 changed files with 5 additions and 2 deletions

View File

@@ -75,6 +75,7 @@ const CLASSROOM_MANAGEMENT: PermissionLayout[] = [
{ label: "Create Classrooms", key: "create_classroom" },
{ label: "Rename Classrooms", key: "rename_classrooms" },
{ label: "Add to Classroom", key: "add_to_classroom" },
{ label: "Upload to Classroom", key: "upload_classroom" },
{ label: "Remove from Classroom", key: "remove_from_classroom" },
{ label: "Delete Classroom", key: "delete_classroom" },
]

View File

@@ -59,7 +59,8 @@ export type RolePermission =
"view_statistics" |
"download_statistics_report" |
"edit_grading_system" |
"view_student_performance"
"view_student_performance" |
"upload_classroom"
export const DEFAULT_PERMISSIONS: RolePermission[] = [
"view_students",
@@ -132,5 +133,6 @@ export const ADMIN_PERMISSIONS: RolePermission[] = [
"view_statistics",
"download_statistics_report",
"edit_grading_system",
"view_student_performance"
"view_student_performance",
"upload_classroom"
]