Some quick changes to permissions
This commit is contained in:
@@ -53,14 +53,20 @@ export type RolePermission =
|
||||
"create_user" |
|
||||
"create_user_batch" |
|
||||
"create_code" |
|
||||
"create_code_batch"
|
||||
"create_code_batch" |
|
||||
"view_code_list" |
|
||||
"delete_code" |
|
||||
"view_statistics" |
|
||||
"download_statistics_report"
|
||||
|
||||
export const DEFAULT_PERMISSIONS: RolePermission[] = [
|
||||
"view_students",
|
||||
"view_teachers",
|
||||
"view_assignments",
|
||||
"view_classrooms",
|
||||
"view_entity_roles"
|
||||
"view_entity_roles",
|
||||
"view_statistics",
|
||||
"download_statistics_report"
|
||||
]
|
||||
|
||||
export const ADMIN_PERMISSIONS: RolePermission[] = [
|
||||
@@ -118,5 +124,9 @@ export const ADMIN_PERMISSIONS: RolePermission[] = [
|
||||
"create_user",
|
||||
"create_user_batch",
|
||||
"create_code",
|
||||
"create_code_batch"
|
||||
"create_code_batch",
|
||||
"view_code_list",
|
||||
"delete_code",
|
||||
"view_statistics",
|
||||
"download_statistics_report"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user