export type RolePermission =
	| "view_students"
	| "view_teachers"
	| "view_corporates"
	| "view_mastercorporates"
	| "edit_students"
	| "edit_teachers"
	| "edit_corporates"
	| "edit_mastercorporates"
	| "delete_students"
	| "delete_teachers"
	| "delete_corporates"
	| "delete_mastercorporates"
	| "generate_reading"
	| "view_reading"
	| "delete_reading"
	| "generate_listening"
	| "view_listening"
	| "delete_listening"
	| "generate_writing"
	| "view_writing"
	| "delete_writing"
	| "generate_speaking"
	| "view_speaking"
	| "delete_speaking"
	| "generate_level"
	| "view_level"
	| "delete_level"
	| "view_classrooms"
	| "create_classroom"
	| "rename_classrooms"
	| "add_to_classroom"
	| "remove_from_classroom"
	| "delete_classroom"
	| "view_entities"
	| "rename_entity"
	| "add_to_entity"
	| "remove_from_entity"
	| "delete_entity"
	| "view_entity_roles"
	| "create_entity_role"
	| "rename_entity_role"
	| "edit_role_permissions"
	| "assign_to_role"
	| "delete_entity_role"
	| "view_assignments"
	| "create_assignment"
	| "edit_assignment"
	| "delete_assignment"
	| "start_assignment"
	| "archive_assignment"
	| "view_entity_statistics"
	| "create_user"
	| "create_user_batch"
	| "create_code"
	| "create_code_batch"
	| "view_code_list"
	| "delete_code"
	| "view_statistics"
	| "download_statistics_report"
	| "edit_grading_system"
	| "view_student_performance"
	| "upload_classroom"
	| "download_user_list"
	| "view_student_record"
	| "download_student_record"
	| "pay_entity"
	| "view_payment_record"
	| "view_approval_workflows"
	| "update_exam_privacy"
	| "view_workflows"
	| "configure_workflows"
	| "edit_workflow"
	| "delete_workflow"
	| "view_confidential_exams"
	| "create_confidential_exams"
	| "create_public_exams";

export const DEFAULT_PERMISSIONS: RolePermission[] = [
	"view_students",
	"view_teachers",
	"view_assignments",
	"view_classrooms",
	"view_entity_roles",
	"view_statistics",
	"download_statistics_report",
];

export const ADMIN_PERMISSIONS: RolePermission[] = [
	"view_students",
	"view_teachers",
	"view_corporates",
	"view_mastercorporates",
	"edit_students",
	"edit_teachers",
	"edit_corporates",
	"edit_mastercorporates",
	"delete_students",
	"delete_teachers",
	"delete_corporates",
	"delete_mastercorporates",
	"generate_reading",
	"view_reading",
	"delete_reading",
	"generate_listening",
	"view_listening",
	"delete_listening",
	"generate_writing",
	"view_writing",
	"delete_writing",
	"generate_speaking",
	"view_speaking",
	"delete_speaking",
	"generate_level",
	"view_level",
	"delete_level",
	"view_classrooms",
	"create_classroom",
	"rename_classrooms",
	"add_to_classroom",
	"remove_from_classroom",
	"delete_classroom",
	"view_entities",
	"rename_entity",
	"add_to_entity",
	"remove_from_entity",
	"delete_entity",
	"view_entity_roles",
	"create_entity_role",
	"rename_entity_role",
	"edit_role_permissions",
	"assign_to_role",
	"delete_entity_role",
	"view_assignments",
	"create_assignment",
	"edit_assignment",
	"delete_assignment",
	"start_assignment",
	"archive_assignment",
	"view_entity_statistics",
	"create_user",
	"create_user_batch",
	"create_code",
	"create_code_batch",
	"view_code_list",
	"delete_code",
	"view_statistics",
	"download_statistics_report",
	"edit_grading_system",
	"view_student_performance",
	"upload_classroom",
	"download_user_list",
	"view_student_record",
	"download_student_record",
	"pay_entity",
	"view_payment_record",
	"update_exam_privacy",
	"configure_workflows",
	"view_workflows",
	"edit_workflow",
	"delete_workflow",
	"create_confidential_exams",
	"create_public_exams",
];
