<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data noupdate="0">
        <!-- Global permissions (PermissionType from permissions.ts) -->
        <record id="perm_viewCorporate" model="encoach.permission">
            <field name="code">viewCorporate</field>
            <field name="topic">Manage Corporate</field>
        </record>
        <record id="perm_editCorporate" model="encoach.permission">
            <field name="code">editCorporate</field>
            <field name="topic">Manage Corporate</field>
        </record>
        <record id="perm_deleteCorporate" model="encoach.permission">
            <field name="code">deleteCorporate</field>
            <field name="topic">Manage Corporate</field>
        </record>
        <record id="perm_createCodeCorporate" model="encoach.permission">
            <field name="code">createCodeCorporate</field>
            <field name="topic">Manage Corporate</field>
        </record>
        <record id="perm_viewAdmin" model="encoach.permission">
            <field name="code">viewAdmin</field>
            <field name="topic">Manage Admin</field>
        </record>
        <record id="perm_editAdmin" model="encoach.permission">
            <field name="code">editAdmin</field>
            <field name="topic">Manage Admin</field>
        </record>
        <record id="perm_deleteAdmin" model="encoach.permission">
            <field name="code">deleteAdmin</field>
            <field name="topic">Manage Admin</field>
        </record>
        <record id="perm_createCodeAdmin" model="encoach.permission">
            <field name="code">createCodeAdmin</field>
            <field name="topic">Manage Admin</field>
        </record>
        <record id="perm_viewStudent" model="encoach.permission">
            <field name="code">viewStudent</field>
            <field name="topic">Manage Student</field>
        </record>
        <record id="perm_editStudent" model="encoach.permission">
            <field name="code">editStudent</field>
            <field name="topic">Manage Student</field>
        </record>
        <record id="perm_deleteStudent" model="encoach.permission">
            <field name="code">deleteStudent</field>
            <field name="topic">Manage Student</field>
        </record>
        <record id="perm_createCodeStudent" model="encoach.permission">
            <field name="code">createCodeStudent</field>
            <field name="topic">Manage Student</field>
        </record>
        <record id="perm_viewTeacher" model="encoach.permission">
            <field name="code">viewTeacher</field>
            <field name="topic">Manage Teacher</field>
        </record>
        <record id="perm_editTeacher" model="encoach.permission">
            <field name="code">editTeacher</field>
            <field name="topic">Manage Teacher</field>
        </record>
        <record id="perm_deleteTeacher" model="encoach.permission">
            <field name="code">deleteTeacher</field>
            <field name="topic">Manage Teacher</field>
        </record>
        <record id="perm_createCodeTeacher" model="encoach.permission">
            <field name="code">createCodeTeacher</field>
            <field name="topic">Manage Teacher</field>
        </record>
        <record id="perm_viewCountryManager" model="encoach.permission">
            <field name="code">viewCountryManager</field>
            <field name="topic">Manage Country Manager</field>
        </record>
        <record id="perm_editCountryManager" model="encoach.permission">
            <field name="code">editCountryManager</field>
            <field name="topic">Manage Country Manager</field>
        </record>
        <record id="perm_deleteCountryManager" model="encoach.permission">
            <field name="code">deleteCountryManager</field>
            <field name="topic">Manage Country Manager</field>
        </record>
        <record id="perm_createCodeCountryManager" model="encoach.permission">
            <field name="code">createCodeCountryManager</field>
            <field name="topic">Manage Country Manager</field>
        </record>
        <record id="perm_createReadingExam" model="encoach.permission">
            <field name="code">createReadingExam</field>
            <field name="topic">Manage Exams</field>
        </record>
        <record id="perm_createListeningExam" model="encoach.permission">
            <field name="code">createListeningExam</field>
            <field name="topic">Manage Exams</field>
        </record>
        <record id="perm_createWritingExam" model="encoach.permission">
            <field name="code">createWritingExam</field>
            <field name="topic">Manage Exams</field>
        </record>
        <record id="perm_createSpeakingExam" model="encoach.permission">
            <field name="code">createSpeakingExam</field>
            <field name="topic">Manage Exams</field>
        </record>
        <record id="perm_createLevelExam" model="encoach.permission">
            <field name="code">createLevelExam</field>
            <field name="topic">Manage Exams</field>
        </record>
        <record id="perm_viewExams" model="encoach.permission">
            <field name="code">viewExams</field>
            <field name="topic">View Pages</field>
        </record>
        <record id="perm_viewExercises" model="encoach.permission">
            <field name="code">viewExercises</field>
            <field name="topic">View Pages</field>
        </record>
        <record id="perm_viewRecords" model="encoach.permission">
            <field name="code">viewRecords</field>
            <field name="topic">View Pages</field>
        </record>
        <record id="perm_viewStats" model="encoach.permission">
            <field name="code">viewStats</field>
            <field name="topic">View Pages</field>
        </record>
        <record id="perm_viewTickets" model="encoach.permission">
            <field name="code">viewTickets</field>
            <field name="topic">View Pages</field>
        </record>
        <record id="perm_viewPaymentRecords" model="encoach.permission">
            <field name="code">viewPaymentRecords</field>
            <field name="topic">View Pages</field>
        </record>
        <record id="perm_viewGroup" model="encoach.permission">
            <field name="code">viewGroup</field>
            <field name="topic">Manage Group</field>
        </record>
        <record id="perm_editGroup" model="encoach.permission">
            <field name="code">editGroup</field>
            <field name="topic">Manage Group</field>
        </record>
        <record id="perm_deleteGroup" model="encoach.permission">
            <field name="code">deleteGroup</field>
            <field name="topic">Manage Group</field>
        </record>
        <record id="perm_createGroup" model="encoach.permission">
            <field name="code">createGroup</field>
            <field name="topic">Manage Group</field>
        </record>
        <record id="perm_viewCodes" model="encoach.permission">
            <field name="code">viewCodes</field>
            <field name="topic">Manage Codes</field>
        </record>
        <record id="perm_deleteCodes" model="encoach.permission">
            <field name="code">deleteCodes</field>
            <field name="topic">Manage Codes</field>
        </record>
        <record id="perm_createCodes" model="encoach.permission">
            <field name="code">createCodes</field>
            <field name="topic">Manage Codes</field>
        </record>
        <record id="perm_all" model="encoach.permission">
            <field name="code">all</field>
            <field name="topic">Others</field>
        </record>

        <!-- Role-level permissions (RolePermission from entityPermissions.ts) -->
        <record id="rperm_view_students" model="encoach.permission">
            <field name="code">view_students</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_view_teachers" model="encoach.permission">
            <field name="code">view_teachers</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_view_corporates" model="encoach.permission">
            <field name="code">view_corporates</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_view_mastercorporates" model="encoach.permission">
            <field name="code">view_mastercorporates</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_edit_students" model="encoach.permission">
            <field name="code">edit_students</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_edit_teachers" model="encoach.permission">
            <field name="code">edit_teachers</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_edit_corporates" model="encoach.permission">
            <field name="code">edit_corporates</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_edit_mastercorporates" model="encoach.permission">
            <field name="code">edit_mastercorporates</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_delete_students" model="encoach.permission">
            <field name="code">delete_students</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_delete_teachers" model="encoach.permission">
            <field name="code">delete_teachers</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_delete_corporates" model="encoach.permission">
            <field name="code">delete_corporates</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_delete_mastercorporates" model="encoach.permission">
            <field name="code">delete_mastercorporates</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_generate_reading" model="encoach.permission">
            <field name="code">generate_reading</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_reading" model="encoach.permission">
            <field name="code">view_reading</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_delete_reading" model="encoach.permission">
            <field name="code">delete_reading</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_generate_listening" model="encoach.permission">
            <field name="code">generate_listening</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_listening" model="encoach.permission">
            <field name="code">view_listening</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_delete_listening" model="encoach.permission">
            <field name="code">delete_listening</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_generate_writing" model="encoach.permission">
            <field name="code">generate_writing</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_writing" model="encoach.permission">
            <field name="code">view_writing</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_delete_writing" model="encoach.permission">
            <field name="code">delete_writing</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_generate_speaking" model="encoach.permission">
            <field name="code">generate_speaking</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_speaking" model="encoach.permission">
            <field name="code">view_speaking</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_delete_speaking" model="encoach.permission">
            <field name="code">delete_speaking</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_generate_level" model="encoach.permission">
            <field name="code">generate_level</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_level" model="encoach.permission">
            <field name="code">view_level</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_delete_level" model="encoach.permission">
            <field name="code">delete_level</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_classrooms" model="encoach.permission">
            <field name="code">view_classrooms</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_create_classroom" model="encoach.permission">
            <field name="code">create_classroom</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_rename_classrooms" model="encoach.permission">
            <field name="code">rename_classrooms</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_add_to_classroom" model="encoach.permission">
            <field name="code">add_to_classroom</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_remove_from_classroom" model="encoach.permission">
            <field name="code">remove_from_classroom</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_delete_classroom" model="encoach.permission">
            <field name="code">delete_classroom</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_view_entities" model="encoach.permission">
            <field name="code">view_entities</field>
            <field name="topic">Entities</field>
        </record>
        <record id="rperm_rename_entity" model="encoach.permission">
            <field name="code">rename_entity</field>
            <field name="topic">Entities</field>
        </record>
        <record id="rperm_add_to_entity" model="encoach.permission">
            <field name="code">add_to_entity</field>
            <field name="topic">Entities</field>
        </record>
        <record id="rperm_remove_from_entity" model="encoach.permission">
            <field name="code">remove_from_entity</field>
            <field name="topic">Entities</field>
        </record>
        <record id="rperm_delete_entity" model="encoach.permission">
            <field name="code">delete_entity</field>
            <field name="topic">Entities</field>
        </record>
        <record id="rperm_view_entity_roles" model="encoach.permission">
            <field name="code">view_entity_roles</field>
            <field name="topic">Roles</field>
        </record>
        <record id="rperm_create_entity_role" model="encoach.permission">
            <field name="code">create_entity_role</field>
            <field name="topic">Roles</field>
        </record>
        <record id="rperm_rename_entity_role" model="encoach.permission">
            <field name="code">rename_entity_role</field>
            <field name="topic">Roles</field>
        </record>
        <record id="rperm_edit_role_permissions" model="encoach.permission">
            <field name="code">edit_role_permissions</field>
            <field name="topic">Roles</field>
        </record>
        <record id="rperm_assign_to_role" model="encoach.permission">
            <field name="code">assign_to_role</field>
            <field name="topic">Roles</field>
        </record>
        <record id="rperm_delete_entity_role" model="encoach.permission">
            <field name="code">delete_entity_role</field>
            <field name="topic">Roles</field>
        </record>
        <record id="rperm_view_assignments" model="encoach.permission">
            <field name="code">view_assignments</field>
            <field name="topic">Assignments</field>
        </record>
        <record id="rperm_create_assignment" model="encoach.permission">
            <field name="code">create_assignment</field>
            <field name="topic">Assignments</field>
        </record>
        <record id="rperm_edit_assignment" model="encoach.permission">
            <field name="code">edit_assignment</field>
            <field name="topic">Assignments</field>
        </record>
        <record id="rperm_delete_assignment" model="encoach.permission">
            <field name="code">delete_assignment</field>
            <field name="topic">Assignments</field>
        </record>
        <record id="rperm_start_assignment" model="encoach.permission">
            <field name="code">start_assignment</field>
            <field name="topic">Assignments</field>
        </record>
        <record id="rperm_archive_assignment" model="encoach.permission">
            <field name="code">archive_assignment</field>
            <field name="topic">Assignments</field>
        </record>
        <record id="rperm_view_entity_statistics" model="encoach.permission">
            <field name="code">view_entity_statistics</field>
            <field name="topic">Statistics</field>
        </record>
        <record id="rperm_create_user" model="encoach.permission">
            <field name="code">create_user</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_create_user_batch" model="encoach.permission">
            <field name="code">create_user_batch</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_create_code" model="encoach.permission">
            <field name="code">create_code</field>
            <field name="topic">Codes</field>
        </record>
        <record id="rperm_create_code_batch" model="encoach.permission">
            <field name="code">create_code_batch</field>
            <field name="topic">Codes</field>
        </record>
        <record id="rperm_view_code_list" model="encoach.permission">
            <field name="code">view_code_list</field>
            <field name="topic">Codes</field>
        </record>
        <record id="rperm_delete_code" model="encoach.permission">
            <field name="code">delete_code</field>
            <field name="topic">Codes</field>
        </record>
        <record id="rperm_view_statistics" model="encoach.permission">
            <field name="code">view_statistics</field>
            <field name="topic">Statistics</field>
        </record>
        <record id="rperm_download_statistics_report" model="encoach.permission">
            <field name="code">download_statistics_report</field>
            <field name="topic">Statistics</field>
        </record>
        <record id="rperm_edit_grading_system" model="encoach.permission">
            <field name="code">edit_grading_system</field>
            <field name="topic">Grading</field>
        </record>
        <record id="rperm_view_student_performance" model="encoach.permission">
            <field name="code">view_student_performance</field>
            <field name="topic">Students</field>
        </record>
        <record id="rperm_upload_classroom" model="encoach.permission">
            <field name="code">upload_classroom</field>
            <field name="topic">Classrooms</field>
        </record>
        <record id="rperm_download_user_list" model="encoach.permission">
            <field name="code">download_user_list</field>
            <field name="topic">Users</field>
        </record>
        <record id="rperm_view_student_record" model="encoach.permission">
            <field name="code">view_student_record</field>
            <field name="topic">Students</field>
        </record>
        <record id="rperm_download_student_record" model="encoach.permission">
            <field name="code">download_student_record</field>
            <field name="topic">Students</field>
        </record>
        <record id="rperm_pay_entity" model="encoach.permission">
            <field name="code">pay_entity</field>
            <field name="topic">Payments</field>
        </record>
        <record id="rperm_view_payment_record" model="encoach.permission">
            <field name="code">view_payment_record</field>
            <field name="topic">Payments</field>
        </record>
        <record id="rperm_view_approval_workflows" model="encoach.permission">
            <field name="code">view_approval_workflows</field>
            <field name="topic">Workflows</field>
        </record>
        <record id="rperm_update_exam_privacy" model="encoach.permission">
            <field name="code">update_exam_privacy</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_view_workflows" model="encoach.permission">
            <field name="code">view_workflows</field>
            <field name="topic">Workflows</field>
        </record>
        <record id="rperm_configure_workflows" model="encoach.permission">
            <field name="code">configure_workflows</field>
            <field name="topic">Workflows</field>
        </record>
        <record id="rperm_edit_workflow" model="encoach.permission">
            <field name="code">edit_workflow</field>
            <field name="topic">Workflows</field>
        </record>
        <record id="rperm_delete_workflow" model="encoach.permission">
            <field name="code">delete_workflow</field>
            <field name="topic">Workflows</field>
        </record>
        <record id="rperm_view_confidential_exams" model="encoach.permission">
            <field name="code">view_confidential_exams</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_create_confidential_exams" model="encoach.permission">
            <field name="code">create_confidential_exams</field>
            <field name="topic">Exams</field>
        </record>
        <record id="rperm_create_public_exams" model="encoach.permission">
            <field name="code">create_public_exams</field>
            <field name="topic">Exams</field>
        </record>
    </data>
</odoo>
