ENCOA-292
This commit is contained in:
@@ -75,6 +75,7 @@ const CLASSROOM_MANAGEMENT: PermissionLayout[] = [
|
|||||||
{ label: "Create Classrooms", key: "create_classroom" },
|
{ label: "Create Classrooms", key: "create_classroom" },
|
||||||
{ label: "Rename Classrooms", key: "rename_classrooms" },
|
{ label: "Rename Classrooms", key: "rename_classrooms" },
|
||||||
{ label: "Add to Classroom", key: "add_to_classroom" },
|
{ label: "Add to Classroom", key: "add_to_classroom" },
|
||||||
|
{ label: "Upload to Classroom", key: "upload_classroom" },
|
||||||
{ label: "Remove from Classroom", key: "remove_from_classroom" },
|
{ label: "Remove from Classroom", key: "remove_from_classroom" },
|
||||||
{ label: "Delete Classroom", key: "delete_classroom" },
|
{ label: "Delete Classroom", key: "delete_classroom" },
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ export type RolePermission =
|
|||||||
"view_statistics" |
|
"view_statistics" |
|
||||||
"download_statistics_report" |
|
"download_statistics_report" |
|
||||||
"edit_grading_system" |
|
"edit_grading_system" |
|
||||||
"view_student_performance"
|
"view_student_performance" |
|
||||||
|
"upload_classroom"
|
||||||
|
|
||||||
export const DEFAULT_PERMISSIONS: RolePermission[] = [
|
export const DEFAULT_PERMISSIONS: RolePermission[] = [
|
||||||
"view_students",
|
"view_students",
|
||||||
@@ -132,5 +133,6 @@ export const ADMIN_PERMISSIONS: RolePermission[] = [
|
|||||||
"view_statistics",
|
"view_statistics",
|
||||||
"download_statistics_report",
|
"download_statistics_report",
|
||||||
"edit_grading_system",
|
"edit_grading_system",
|
||||||
"view_student_performance"
|
"view_student_performance",
|
||||||
|
"upload_classroom"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user