import { Store } from 'pullstate'

export enum Permission {
  VIEW_AUDIT_LOGS = 'can_view_audit_logs',
  STUDENTS_VIEW = 'can_students_view',
  ADMISSIONS_VIEW = 'can_admissions_view',
  USERS_VIEW = 'can_users_view',
  SUBJECTS_VIEW = 'can_subjects_view',
  COURSE_REGISTRATION_VIEW = 'can_course_registration_view',
  END_SEMESTER_EXAMINATIONS_VIEW = 'can_end_semester_examinations_view',
  INTERNAL_EXAMINATIONS_VIEW = 'can_internal_examinations_view',
  VIEW_ANSWER_SHEET_REPORT = 'can_view_answer_sheet_report',
  SEATING_PLAN = 'can_examinations_seating_plan',
  VIEW_REPORTS = 'can_results_processing_view_reports',
  CAN_ADD_FEED = 'can_feed_add',
  MARKS_DIVISION = 'can_examinations_manage_marks_division',

  //classroom

  CLASSROOM_VIEW = 'can_classroom_view',
  CLASSROOM_EDIT = 'can_classroom_edit',
  CLASSROOM_DELETE = 'can_classroom_delete',
  CLASSROOM_ADD = 'can_classroom_add',

  // Tasks

  CAN_TASKS_ADD = 'can_tasks_add',
  CAN_TASKS_DELETE = 'can_tasks_delete',
  CAN_TASKS_EDIT = 'can_tasks_edit',
  CAN_TASKS_VIEW = 'can_tasks_view',
  CAN_TASKS_CHANGE_STATUS = 'can_tasks_change_status',
  CAN_REVOKE_MARKS = 'can_classroom_revoke_marks',

  // Academic Calendar

  ACADEMIC_CALENDAR_VIEW = 'can_academic_calendar_view',
  ACADEMIC_CALENDAR_EVENT_ADD = 'can_academic_calendar_event_add',
  ACADEMIC_CALENDAR_EVENT_EDIT = 'can_academic_calendar_event_edit',
  ACADEMIC_CALENDAR_EVENT_DELETE = 'can_academic_calendar_event_delete',

  //Designations
  DESIGNATIONS_ADD = 'can_designations_add',
  DESIGNATIONS_DELETE = 'can_designations_delete',
  DESIGNATIONS_EDIT = 'can_designations_edit',
  DESIGNATIONS_VIEW = 'can_designations_view',

  //bundling

  BUNDLING_VIEW = 'can_bundling_view',
  BUNDLING_ADD = 'can_bundling_add',
  BUNDLING_EDIT = 'can_bundling_edit',
  BUNDLING_DELETE = 'can_bundling_delete',

  // manage
  MANAGE_ROLES_AND_PROFILES = 'can_manage_roles_and_profiles',

  MANAGE_USER_GROUPS = 'can_manage_user_groups',
  MANAGE_ASSESSMENTS = 'can_manage_assessments',
  USERS_ADD = 'can_users_add',
  USERS_EDIT = 'can_users_edit',
  USERS_DELETE = 'can_users_delete',
  USERS_REORDER = 'can_users_reorder',
  USERS_UPLOAD_PHOTOS = 'can_user_upload_photos',
  USERS_EXPORT = 'can_users_export',
  ADMISSIONS_ADD = 'can_admissions_add',
  ADMISSIONS_EDIT = 'can_admissions_edit',
  ADMISSIONS_DELETE = 'can_admissions_delete',
  ADMISSIONS_CHANGE_STATUS = 'can_admissions_change_status',
  ADMISSIONS_IMPORT = 'can_admissions_import',
  ADMISSIONS_EXPORT = 'can_admissions_export',
  ADMISSIONS_CONFIRM = 'can_admissions_confirm',
  STUDENTS_ADD = 'can_students_add',
  STUDENTS_EDIT = 'can_students_edit',
  STUDENTS_DELETE = 'can_students_delete',
  STUDENTS_DETAIN = 'can_students_detain',
  STUDENTS_IMPORT = 'can_students_import',
  STUDENTS_EXPORT = 'can_students_export',
  STUDENTS_RESULTS = 'can_students_results',
  STUDENTS_UPLOAD_PHOTOS = 'can_students_upload_photos',
  STUDENTS_TRANSFER = 'can_students_transfer',
  STUDENTS_ALLOTMENT = 'can_students_allotment',
  SUBJECTS_ADD = 'can_subjects_add',
  SUBJECTS_EDIT = 'can_subjects_edit',
  SUBJECTS_DELETE = 'can_subjects_delete',
  SUBJECTS_EDIT_SUBJECT_INFO = 'can_subjects_edit_subject_info',
  COURSE_REGISTRATION_ADD = 'can_course_registration_add',
  COURSE_REGISTRATION_EDIT = 'can_course_registration_edit',
  COURSE_REGISTRATION_DELETE = 'can_course_registration_delete',
  END_SEMESTER_EXAMINATIONS_ADD = 'can_end_semester_examinations_add',
  END_SEMESTER_EXAMINATIONS_EDIT = 'can_end_semester_examinations_edit',
  END_SEMESTER_EXAMINATIONS_NOTIFICATION = 'can_end_semester_examinations_notification',
  END_SEMESTER_EXAMINATIONS_DELETE = 'can_end_semester_examinations_delete',
  END_SEMESTER_EXAMINATIONS_SEATING_PLAN = 'can_end_semester_examinations_seating_plan',
  END_SEMESTER_EXAMINATIONS_MANAGE_EXAM_FEE = 'can_end_semester_examinations_manage_exam_fee',
  END_SEMESTER_EXAMINATIONS_D_FORMS = 'can_end_semester_examinations_d_forms',
  END_SEMESTER_EXAMINATIONS_BUNDLING = 'can_end_semester_examinations_bundling',
  END_SEMESTER_EXAMINATIONS_MARKS_ENTRY = 'can_end_semester_examinations_marks_entry',
  END_SEMESTER_EXAMINATIONS_INVIGILATIONS = 'can_end_semester_examinations_invigilations',
  INTERNAL_EXAMINATIONS_ADD = 'can_internal_examinations_add',
  INTERNAL_EXAMINATIONS_EDIT = 'can_internal_examinations_edit',
  INTERNAL_EXAMINATIONS_DELETE = 'can_internal_examinations_delete',
  INTERNAL_EXAMINATIONS_MANAGE_EXAM_FEE = 'can_internal_examinations_manage_exam_fee',
  INTERNAL_EXAMINATIONS_MANAGE_HALLTICKETS = 'can_internal_examinations_manage_halltickets',
  INTERNAL_EXAMINATIONS_SEATING_PLAN = 'can_internal_examinations_seating_plan',
  INTERNAL_EXAMINATIONS_INVIGILATIONS = 'can_internal_examinations_invigilations',
  EXTRA_CURRICULAR_ACTIVITIES_NEWS_FEED = 'can_extra_curricular_activities_news_feed',
  EXTRA_CURRICULAR_ACTIVITIES_CLUBS = 'can_extra_curricular_activities_clubs',
  EXTRA_CURRICULAR_ACTIVITIES_EVENTS = 'can_extra_curricular_activities_events',
  EDIT_ANSWER_SHEET_MARKS = 'can_edit_answer_sheet_marks',
  EDIT_EXTERNAL_MARKS = 'can_edit_external_marks',
  EXAM_COLLATERALS = 'can_exam_collaterals',
  REVALUTION = 'can_revaluation',
  EDIT_INTERNAL_MARKS = 'can_edit_internal_marks',
  PROCESS_RESULTS = 'can_process_results',
  CAN_PROGRAMS_ADD = 'can_programs_add',
  CAN_PROGRAMS_DELETE = 'can_programs_delete',
  CAN_PROGRAMS_EDIT = 'can_programs_edit',
  CAN_PROGRAMS_VIEW = 'can_programs_view',
  CAN_DEGRESS_ADD = 'can_degrees_add',
  CAN_DEGRESS_DELETE = 'can_degrees_delete',
  CAN_DEGRESS_EDIT = 'can_degrees_edit',
  CAN_SETTINGS_VIEW = 'can_settings_view',
  CAN_DASHBOARD_VIEW = 'can_dashboard_view',
  CAN_DEGRESS_VIEW = 'can_degrees_view',
  CAN_SEMESTERS_ADD = 'can_semesters_add',
  CAN_SEMESTERS_DELETE = 'can_semesters_delete',
  CAN_SEMESTERS_EDIT = 'can_semesters_edit',
  CAN_SEMESTERS_VIEW = 'can_semesters_view',
  CAN_CURRICULUMS_ADD = 'can_curriculums_add',
  CAN_CURRICULUMS_DELETE = 'can_curriculums_delete',
  CAN_CURRICULUMS_EDIT = 'can_curriculums_edit',
  CAN_CURRICULUMS_VIEW = 'can_curriculums_view',
  CAN_ASSESSMENT_RULES_ADD = 'can_assessment_rules_add',
  CAN_ASSESSMENT_RULES_DELETE = 'can_assessment_rules_delete',
  CAN_ASSESSMENT_RULES_EDIT = 'can_assessment_rules_edit',
  CAN_ASSESSMENT_RULES_VIEW = 'can_assessment_rules_view',
  CAN_RESULTS_PROCESSING_GENERATE_MEMOS = 'can_results_processing_generate_memos',
  CAN_RESULTS_PROCESSING_MODERATION_AND_GRAFTING = 'can_results_processing_moderation_and_grafting',
  CAN_RESULTS_PROCESSING_PUBLISH_RESULTS = 'can_results_processing_publish_results',
  CAN_RESULTS_PROCESSING_UPDATE_INTERNAL_MARKS = 'can_results_processing_update_internal_marks',
  CAN_RESULTS_PROCESSING_VIEW = 'can_results_processing_view',

  //newly added permissions

  CAN_PHD_FORM_VIEW = 'can_admissions_view_phd_applications',
  CAN_PHD_FORM_DOWNLOAD = 'can_admissions_download_phd_applications',
  CAN_CET_VIEW = 'can_admissions_view_cet',
  CAN_EDIT_VIEW = 'can_admissions_edit_cet',
  CAN_CET_DOWNLOAD = 'can_admissions_download_cet',
  CAN_HOSTELER_DASHBOARD_VIEW = 'can_hosteler_dashboard_view',
  CAN_HOSTELER_VIEW = 'can_hosteler_view',
  CAN_HOSTELER_ADD = 'can_hosteler_add',
  CAN_HOSTELER_EDIT = 'can_hosteler_edit',
  CAN_HOSTELER_CHANGE_STATUS = 'can_hosteler_change_status',
  CAN_HOSTELER_FACE_DATA_RESET = 'can_hosteler_face_data_reset',
  CAN_HOSTELER_FEE_PAYMENT_VIEW = 'can_hosteler_fee_payments_view',
  CAN_HOSTELER_REPORTS_VIEW = 'can_hosteler_reports_view',
  CAN_HOSTELER_SETTINGS_VIEW_CONFIGURATION = 'can_hosteler_settings_view_configuration',
  CAN_HOSTELER_SETTINGS_EDIT_CONFIGURATION = 'can_hosteler_settings_edit_configuration',
  CAN_HOSTELER_SETTINGS_ADD_FEE_TYPES = 'can_hosteler_settings_add_fee_types',
  CAN_HOSTELER_SETTINGS_VIEW_FEE_TYPES = 'can_hosteler_settings_view_fee_types',
  CAN_HOSTELER_SETTINGS_EDIT_FEE_TYPES = 'can_hosteler_settings_edit_fee_types',
  CAN_HOSTELER_SETTINGS_DELETE_FEE_TYPES = 'can_hosteler_settings_delete_fee_types',
  CAN_HOSTELERS_SETTINGS_BLOCK_VIEW = 'can_hosteler_settings_blocks_view',
  CAN_HOSTELERS_SETTINGS_BLOCK_ADD = 'can_hosteler_settings_blocks_add',
  CAN_HOSTELERS_SETTINGS_BLOCK_EDIT = 'can_hosteler_settings_blocks_edit',
  CAN_HOSTELERS_SETTINGS_BLOCK_DELETE = 'can_hosteler_settings_blocks_delete',
  CAN_HOSTELERS_SETTINGS_ROOMS_VIEW = 'can_hosteler_settings_rooms_view',
  CAN_HOSTELERS_SETTINGS_ROOMS_ADD = 'can_hosteler_settings_rooms_add',
  CAN_HOSTELERS_SETTINGS_ROOMS_EDIT = 'can_hosteler_settings_rooms_edit',
  CAN_HOSTELERS_SETTINGS_ROOMS_DELETE = 'can_hosteler_settings_rooms_delete',
  CAN_HOSTELERS_SETTINGS_ROOMS_IMPORT = 'can_hosteler_settings_import_hostel_rooms',
  CAN_HOSTELERS_SETTINGS_AMENITIES_VIEW = 'can_hosteler_settings_amenities_view',
  CAN_HOSTELERS_SETTINGS_AMENITIES_ADD = 'can_hosteler_settings_amenities_add',
  CAN_HOSTELERS_SETTINGS_AMENITIES_EDIT = 'can_hosteler_settings_amenities_edit',
  CAN_HOSTELERS_SETTINGS_AMENITIES_DELETE = 'can_hosteler_settings_amenities_delete',
  CAN_ADMISSIONS_DASHBOARD_VIEW = 'can_admission_dashboard_view',
  CAN_LEAD_STATUS_VIEW = 'can_lead_status_view',
  CAN_LEAD_STATUS_EDIT = 'can_lead_status_edit',
  CAN_LEAD_STATUS_ADD = 'can_lead_status_add',
  CAN_LEAD_STATUS_DELETE = 'can_lead_status_delete',
  SCHOOLS_VIEW = 'can_schools_view',
  SCHOOLS_ADD = 'can_schools_add',
  SCHOOLS_EDIT = 'can_schools_edit',
  SCHOOLS_DELETE = 'can_schools_delete',
  SUBJECT_TYPE_VIEW = 'can_subject_types_view',
  SUBJECT_TYPE_ADD = 'can_subject_types_add',
  SUBJECT_TYPE_EDIT = 'can_subject_types_edit',
  SUBJECT_TYPE_DELETE = 'can_subject_types_delete',
  ASSESSMENT_TYPE_VIEW = 'can_assessment_types_view',
  ASSESSMENT_TYPE_ADD = 'can_assessment_types_add',
  ASSESSMENT_TYPE_EDIT = 'can_assessment_types_edit',
  ASSESSMENT_TYPE_DELETE = 'can_assessment_types_delete',
  CLASSROOM_REPORTS = 'can_classroom_reports',
  CLASSROOM_REASSIGN_FACULTY = 'can_classroom_re_assign_faculty',
  CAN_INDIVIDUAL_PAGES_VIEW = 'can_individual_pages_view',

  // Exams

  // OMRS
  CAN_OMRS_VIEW = 'can_omrs_view',
  CAN_OMRS_UPDATE = 'can_omrs_update',
  CAN_OMRS_DOWNLOAD = 'can_omrs_download',

  // Hall tickets
  CAN_HALL_TICKETS_VIEW = 'can_hall_tickets_view',
  CAN_HALL_TICKETS_DOWNLOAD = 'can_hall_tickets_download',

  // Paper Configuration
  CAN_PAPER_CONFIGURATION_VIEW = 'can_paper_configuration_view',
  CAN_PAPER_CONFIGURATION_ADD = 'can_paper_configuration_add',
  CAN_PAPER_CONFIGURATION_EDIT = 'can_paper_configuration_edit',
  CAN_PAPER_CONFIGURATION_DELETE = 'can_paper_configuration_delete',
  CAN_PAPER_CONFIGURATION_UPLOAD = 'can_paper_configuration_upload',
  CAN_PAPER_CONFIGURATION_DOWNLOAD = 'can_paper_configuration_download',

  // Time table
  CAN_EXAM_TIMETABLE_VIEW = 'can_exam_timetable_view',
  CAN_EXAM_TIMETABLE_ADD = 'can_exam_timetable_add',
  CAN_EXAM_TIMETABLE_EDIT = 'can_exam_timetable_edit',
  CAN_EXAM_TIMETABLE_DELETE = 'can_exam_timetable_delete',

  // Registrations
  CAN_REGISTARTIONS_VIEW = 'can_exam_registrations_view',
  CAN_REGISTARTIONS_ADD = 'can_exam_registrations_add',
  CAN_REGISTARTIONS_CHALAN_UPLOAD = 'can_exam_registrations_chalan_upload',
  CAN_REGISTARTIONS_SUBMIT = 'can_exam_registrations_submit',

  // Internal Marks
  CAN_INTERNAL_MARKS_VIEW = 'can_internal_marks_view',
  CAN_INTERNAL_MARKS_ADD = 'can_internal_marks_add',
  CAN_INTERNAL_MARKS_EDIT = 'can_internal_marks_edit',

  // External Marks
  CAN_EXTERNAL_MARKS_VIEW = 'can_external_marks_view',
  CAN_EXTERNAL_MARKS_ADD = 'can_external_marks_add',
  CAN_EXTERNAL_MARKS_EDIT = 'can_external_marks_edit',

  // D Form
  CAN_D_FORM_VIEW = 'can_d_forms_view',
  CAN_D_FORM_ADD = 'can_d_forms_add',
  CAN_D_FORM_DOWNLOAD = 'can_d_forms_download',

  // Evaluators
  CAN_EVALUATORS_VIEW = 'can_evaluators_view',
  CAN_EVALUATORS_ADD = 'can_evaluators_add',
  CAN_EVALUATORS_EDIT = 'can_evaluators_edi',
  CAN_EVALUATORS_DELETE = 'can_evaluators_delete',

  // Rooms
  CAN_EXAM_ROOM_VIEW = 'can_exam_rooms_view',
  CAN_EXAM_ROOM_ADD = 'can_exam_rooms_add',
  CAN_EXAM_ROOM_EDIT = 'can_exam_rooms_edit',
  CAN_EXAM_ROOM_DELETE = 'can_exam_rooms_delete',

  //  Time slots
  CAN_TIME_SLOTS_VIEW = 'can_time_slots_view',
  CAN_TIME_SLOTS_ADD = 'can_time_slots_add',
  CAN_TIME_SLOTS_EDIT = 'can_time_slots_edit',
  CAN_TIME_SLOTS_DELETE = 'can_time_slots_delete',

  // Admin Permissions
  CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_VIEW = 'can_manage_admin_profile_permissions_view',
  CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_ADD = 'can_manage_admin_profile_permissions_add',
  CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_EDIT = 'can_manage_admin_profile_permissions_edit',
  CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_DELETE = 'can_manage_admin_profile_permissions_delete',
  CAN_ADMIN_MANAGE_SETTINGS = 'can_admin_manage_settings',
  CAN_ADMIN_MANAGE_ORG_SETTINGS = 'can_admin_manage_org_settings',
  CAN_MANAGE_USER_PROFILES = 'can_manage_user_profiles',
  CAN_ADMIN_INSTITUTIONS_VIEW = 'can_admin_institutions_view',
  CAN_ADMIN_INSTITUTIONS_ADD = 'can_admin_institutions_add',
  CAN_ADMIN_INSTITUTIONS_EDIT = 'can_admin_institutions_edit',
  CAN_ADMIN_INSTITUTIONS_DELETE = 'can_admin_institutions_delete',
  CAN_ADMIN_INSTITUTION_CONFIGURATION_VIEW = 'can_admin_institution_configuration_view',
  CAN_ADMIN_INSTITUTION_CONFIGURATION_EDIT = 'can_admin_institution_configuration_edit',
  CAN_ADMIN_DEGREES_ADD = 'can_admin_degrees_add',
  CAN_ADMIN_DEGREES_VIEW = 'can_admin_degrees_view',
  CAN_ADMIN_DEGREES_EDIT = 'can_admin_degrees_edit',
  CAN_ADMIN_DEGREES_DELETE = 'can_admin_degrees_delete',
  CAN_ADMIN_SEMESTERS_VIEW = 'can_admin_semesters_view',
  CAN_ADMIN_SEMESTERS_ADD = 'can_admin_semesters_add',
  CAN_ADMIN_SEMESTERS_EDIT = 'can_admin_semesters_edit',
  CAN_ADMIN_SEMESTERS_DELETE = 'can_admin_semesters_delete',
  CAN_ADMIN_REGULATION_BATCHES_VIEW = 'can_admin_regulation_batches_view',
  CAN_ADMIN_REGULATION_BATCHES_ADD = 'can_admin_regulation_batches_add',
  CAN_ADMIN_REGULATION_BATCHES_EDIT = 'can_admin_regulation_batches_edit',
  CAN_ADMIN_REGULATION_BATCHES_DELETE = 'can_admin_regulation_batches_delete',
  CAN_ADMIN_DEPARTMENTS_VIEW = 'can_admin_departments_view',
  CAN_ADMIN_DEPARTMENTS_ADD = 'can_admin_departments_add',
  CAN_ADMIN_DEPARTMENTS_EDIT = 'can_admin_departments_edit',
  CAN_ADMIN_DEPARTMENTS_DELETE = 'can_admin_departments_delete',
  CAN_ADMIN_SUBJECT_TYPES_VIEW = 'can_admin_subject_types_view',
  CAN_ADMIN_SUBJECT_TYPES_ADD = 'can_admin_subject_types_add',
  CAN_ADMIN_SUBJECT_TYPES_EDIT = 'can_admin_subject_types_edit',
  CAN_ADMIN_SUBJECT_TYPES_DELETE = 'can_admin_subject_types_delete',
  CAN_ADMIN_PROGRAMS_ADD = 'can_admin_programs_add',
  CAN_ADMIN_PROGRAMS_VIEW = 'can_admin_programs_view',
  CAN_ADMIN_PROGRAMS_EDIT = 'can_admin_programs_edit',
  CAN_ADMIN_PROGRAMS_DELETE = 'can_admin_programs_delete',
  CAN_ADMIN_SUBJECTS_VIEW = 'can_admin_subjects_view',
  CAN_ADMIN_SUBJECTS_ADD = 'can_admin_subjects_add',
  CAN_ADMIN_SUBJECTS_EDIT = 'can_admin_subjects_edit',
  CAN_ADMIN_SUBJECTS_DELETE = 'can_admin_subjects_delete',
  CAN_ADMIN_SUBJECTS_EDIT_SUBJECT_INFO = 'can_admin_subjects_edit_subject_info',
  CAN_ADMIN_SUBJECTS_BATCH_CONFIG_VIEW = 'can_admin_subjects_batch_config_view',
  CAN_ADMIN_SUBJECTS_BATCH_CONFIG_EDIT = 'can_admin_subjects_batch_config_edit',
  CAN_ADMIN_STUDENTS_VIEW = 'can_admin_students_view',
  CAN_ADMIN_STUDENTS_ADD = 'can_admin_students_add',
  CAN_ADMIN_STUDENTS_EDIT = 'can_admin_students_edit',
  CAN_ADMIN_STUDENTS_DETAIN = 'can_admin_students_detain',
  CAN_ADMIN_STUDENTS_IMPORT = 'can_admin_students_import',
  CAN_ADMIN_STUDENTS_EXPORT = 'can_admin_students_export',
  CAN_ADMIN_STUDENTS_RESULTS = 'can_admin_students_results',
  CAN_ADMIN_STUDENTS_UPLOAD_PHOTOS = 'can_admin_students_upload_photos',
  CAN_ADMIN_STUDENTS_TRANSFER = 'can_admin_students_transfer',
  CAN_ADMIN_STUDENTS_ALLOTMENT = 'can_admin_students_allotment',
  CAN_ADMIN_STUDENT_INFO_VIEW = 'can_admin_student_info_view',
  CAN_ADMIN_STUDENT_ACADEMIC_PERFORMANCE_VIEW = 'can_admin_student_academic_performance_view',
  CAN_ADMIN_STUDENT_ATTENDANCE_VIEW = 'can_admin_student_attendance_view',
  CAN_ADMIN_STUDENT_PAYMENTS_VIEW = 'can_admin_student_payments_view',
  CAN_ADMIN_STUDENT_MEMOS_VIEW = 'can_admin_student_memos_view',
  CAN_ADMIN_STUDENT_BACKLOGS_VIEW = 'can_admin_student_backlogs_view',
  CAN_ADMIN_USERS_VIEW = 'can_admin_users_view',
  CAN_ADMIN_USERS_ADD = 'can_admin_users_add',
  CAN_ADMIN_USERS_EDIT = 'can_admin_users_edit',
  CAN_ADMIN_USERS_DELETE = 'can_admin_users_delete',
  CAN_ADMIN_USERS_PHOTOS_UPLOAD = 'can_admin_users_photos_upload',
  CAN_ADMIN_USERS_EXPORT = 'can_admin_users_export',
  CAN_ADMIN_DESIGNATIONS_ADD = 'can_admin_designations_add',
  CAN_ADMIN_DESIGNATIONS_EDIT = 'can_admin_designations_edit',
  CAN_ADMIN_DESIGNATIONS_VIEW = 'can_admin_designations_view',
  CAN_ADMIN_DESIGNATIONS_DELETE = 'can_admin_designations_delete',
}

export interface IPermissions {
  can_manage_roles_and_profiles: boolean
  can_view_audit_logs: boolean
  can_manage_settings: boolean
  can_manage_org_settings: boolean
  can_manage_square_profile_permissions_view: boolean
  can_manage_square_profile_permissions_add: boolean
  can_manage_square_profile_permissions_edit: boolean
  can_manage_square_profile_permissions_delete: boolean
  can_users_view: boolean
  can_users_add: boolean
  can_users_edit: boolean
  can_users_delete: boolean
  can_users_reorder: boolean
  can_user_upload_photos: boolean
  can_users_export: boolean
  can_email_report_cron_jobs_view: boolean
  can_email_report_cron_jobs_add: boolean
  can_email_report_cron_jobs_edit: boolean
  can_email_report_cron_jobs_delete: boolean
  can_students_view: boolean
  can_students_add: boolean
  can_students_edit: boolean
  can_students_delete: boolean
  can_students_detain: boolean
  can_students_import: boolean
  can_students_export: boolean
  can_students_results: boolean
  can_students_upload_photos: boolean
  can_students_transfer: boolean
  can_students_allotment: boolean
  can_student_info_view: boolean
  can_student_academic_performance_view: boolean
  can_student_attendance_view: boolean
  can_student_payments_view: boolean
  can_student_memos_view: boolean
  can_student_backlogs_view: boolean
  can_subjects_view: boolean
  can_subjects_add: boolean
  can_subjects_edit: boolean
  can_subjects_delete: boolean
  can_subjects_edit_subject_info: boolean
  can_subjects_batch_config_edit: boolean
  can_subjects_batch_config_view: boolean
  can_course_registration_view: boolean
  can_course_registration_add: boolean
  can_course_registration_edit: boolean
  can_course_registration_delete: boolean
  can_infrastructure_view: boolean
  can_infrastructure_buildings_view: boolean
  can_infrastructure_buildings_add: boolean
  can_infrastructure_buildings_edit: boolean
  can_infrastructure_buildings_delete: boolean
  can_infrastructure_labs_view: boolean
  can_infrastructure_labs_add: boolean
  can_infrastructure_labs_edit: boolean
  can_infrastructure_labs_delete: boolean
  can_infrastructure_classrooms_view: boolean
  can_infrastructure_classrooms_add: boolean
  can_infrastructure_classrooms_edit: boolean
  can_infrastructure_classrooms_delete: boolean
  can_infrastructure_equipments_view: boolean
  can_infrastructure_equipments_add: boolean
  can_infrastructure_equipments_edit: boolean
  can_infrastructure_equipments_delete: boolean
  can_infrastructure_equipments_history_manage: boolean
  can_infrastructure_equipments_documents_manage: boolean
  can_view_mentors: boolean
  can_add_mentors: boolean
  can_assign_mentees: boolean
  can_remove_mentees: boolean
  can_view_mentor_report: boolean
  can_comment_on_mentor_report: boolean
  can_view_mentees: boolean
  can_create_session: boolean
  can_view_mentee_report: boolean
  can_view_mentor_sessions: boolean
  can_view_mentor_sessions_comments: boolean
  can_add_mentor_sessions_comments: boolean
  can_edit_mentor_sessions_comments: boolean
  can_delete_mentor_sessions_comments: boolean
  can_extra_curricular_activities_news_feed: boolean
  can_extra_curricular_activities_clubs: boolean
  can_extra_curricular_activities_events: boolean
  can_classroom_view: boolean
  can_classroom_add: boolean
  can_classroom_edit: boolean
  can_classroom_delete: boolean
  can_classroom_re_assign_faculty: boolean
  can_classroom_reports: boolean
  can_view_fee_due_report: boolean
  can_classroom_revoke_marks: boolean
  can_classroom_subjects_view: boolean
  can_classroom_subject_attendance_edit: boolean
  can_classroom_subject_assessment_create: boolean
  can_classroom_subject_assessment_delete: boolean
  can_classroom_subject_assessment_link_exam: boolean
  can_classroom_subject_session_delete: boolean
  can_classroom_session_add: boolean
  can_classroom_session_edit: boolean
  can_classroom_session_delete: boolean
  can_view_my_subjects: boolean
  can_feed_add: boolean
  can_degrees_add: boolean
  can_degrees_view: boolean
  can_degrees_edit: boolean
  can_degrees_delete: boolean
  can_programs_add: boolean
  can_programs_view: boolean
  can_programs_edit: boolean
  can_programs_delete: boolean
  can_semesters_view: boolean
  can_semesters_add: boolean
  can_semesters_edit: boolean
  can_semesters_delete: boolean
  can_notice_board_view: boolean
  can_notice_board_add: boolean
  can_notice_board_edit: boolean
  can_notice_board_delete: boolean
  can_research_project_view: boolean
  can_research_project_add: boolean
  can_research_project_edit: boolean
  can_research_project_delete: boolean
  can_configuration_view: boolean
  can_curriculums_add: boolean
  can_curriculums_view: boolean
  can_curriculums_edit: boolean
  can_curriculums_delete: boolean
  can_subject_types_view: boolean
  can_subject_types_add: boolean
  can_subject_types_edit: boolean
  can_subject_types_delete: boolean
  can_assessment_types_view: boolean
  can_assessment_types_add: boolean
  can_assessment_types_edit: boolean
  can_assessment_types_delete: boolean
  can_assessment_templates_add: boolean
  can_assessment_templates_view: boolean
  can_assessment_templates_edit: boolean
  can_assessment_templates_delete: boolean
  can_assessment_rules_view: boolean
  can_assessment_rules_add: boolean
  can_assessment_rules_edit: boolean
  can_assessment_rules_delete: boolean
  can_schools_view: boolean
  can_schools_add: boolean
  can_schools_edit: boolean
  can_schools_delete: boolean
  can_master_subject_view: boolean
  can_master_subject_add: boolean
  can_master_subject_edit: boolean
  can_master_subject_delete: boolean
  can_academic_calendar_view: boolean
  can_academic_calendar_event_add: boolean
  can_academic_calendar_event_edit: boolean
  can_academic_calendar_event_delete: boolean
  can_academic_calendar_timeline_view: boolean
  can_tasks_add: boolean
  can_tasks_edit: boolean
  can_tasks_change_status: boolean
  can_tasks_view: boolean
  can_tasks_delete: boolean
  can_time_slot_template_add: boolean
  can_time_slot_template_view: boolean
  can_time_slot_template_edit: boolean
  can_time_slot_template_delete: boolean
  can_time_slots_view: boolean
  can_time_slots_add: boolean
  can_time_slots_edit: boolean
  can_time_slots_delete: boolean
  can_departments_view: boolean
  can_departments_add: boolean
  can_departments_edit: boolean
  can_departments_delete: boolean
  can_designations_add: boolean
  can_designations_edit: boolean
  can_designations_view: boolean
  can_designations_delete: boolean
  can_form_builder_add: boolean
  can_form_builder_edit: boolean
  can_form_builder_view: boolean
  can_form_builder_delete: boolean
  can_surveys_add: boolean
  can_surveys_edit: boolean
  can_surveys_view: boolean
  can_surveys_delete: boolean
  can_view_feedbacks: boolean
  can_create_feedback: boolean
  can_manage_target_audience: boolean
  can_configure_feedback_form: boolean
  can_change_feedback_status: boolean
  can_view_feedback_questions: boolean
  can_create_feedback_question: boolean
  can_edit_feedback_question: boolean
  can_finalize_feedback_question: boolean
  can_delete_feedback_question: boolean
  can_institutions_view: boolean
  can_institutions_add: boolean
  can_institutions_edit: boolean
  can_institutions_delete: boolean
  can_institution_configuration_view: boolean
  can_institution_configuration_edit: boolean
  can_birds_eye_view: boolean
  can_manage_payments_profile_permissions_view: boolean
  can_manage_payments_profile_permissions_add: boolean
  can_manage_payments_profile_permissions_edit: boolean
  can_manage_payments_profile_permissions_delete: boolean
  can_fee_counter_academic_fee: boolean
  can_fee_counter_exam_fee: boolean
  can_payments_manage_settings: boolean
  can_payment_reports_view: boolean
  can_fee_report_view: boolean
  can_fee_due_list_view: boolean
  can_consolidated_fee_due_list_view: boolean
  can_advance_due_report_view: boolean
  can_fee_by_class_view: boolean
  can_branch_wise_report_view: boolean
  can_detained_student_view: boolean
  can_discontinued_student_view: boolean
  can_concession_report_view: boolean
  can_fee_type_summary_report_view: boolean
  can_examination_report_view: boolean
  can_examination_not_paid_report_view: boolean
  can_examination_blocked_students_view: boolean
  can_payment_x_view_audit_logs: boolean
  can_fee_types_view: boolean
  can_fee_types_add: boolean
  can_fee_types_edit: boolean
  can_fee_types_delete: boolean
  can_fee_groups_view: boolean
  can_fee_groups_add: boolean
  can_fee_groups_edit: boolean
  can_fee_groups_delete: boolean
  can_fine_configurations_view: boolean
  can_fine_configurations_add: boolean
  can_fine_configurations_edit: boolean
  can_fine_configurations_delete: boolean
  can_student_permissions_view: boolean
  can_student_permissions_add: boolean
  can_student_permissions_edit: boolean
  can_student_permissions_delete: boolean
  can_fee_structure_view: boolean
  can_fee_structure_add: boolean
  can_fee_structure_edit: boolean
  can_fee_structure_delete: boolean
  can_concession_view: boolean
  can_concession_change_status: boolean
  can_concession_edit: boolean
  can_student_fee_card_view: boolean
  can_import_receipts_view: boolean
  can_import_credits_view: boolean
  can_transcation_card_view: boolean
  can_dashboard_view: boolean
  can_transfer_admissions: boolean
  can_restore_fee_transactions: boolean
  can_fees_import: boolean
  can_reports_view: boolean
  can_transaction_delete: boolean
  can_transaction_edit: boolean
  can_manage_enroll_x_profile_permissions_view: boolean
  can_manage_enroll_x_profile_permissions_add: boolean
  can_manage_enroll_x_profile_permissions_edit: boolean
  can_manage_enroll_x_profile_permissions_delete: boolean
  can_admissions_view: boolean
  can_admissions_add: boolean
  can_admissions_edit: boolean
  can_admissions_delete: boolean
  can_admissions_reject: boolean
  can_admissions_change_status: boolean
  can_admissions_change_quota: boolean
  can_admissions_import: boolean
  can_admissions_export: boolean
  can_admissions_confirmed_students: boolean
  can_admissions_confirm: boolean
  can_admission_graph_view: boolean
  can_admission_lead_remarks: boolean
  can_admission_approvals: boolean
  can_admission_dashboard_view: boolean
  can_admissions_view_cet: boolean
  can_admissions_edit_cet: boolean
  can_admissions_download_cet: boolean
  can_admissions_view_phd_applications: boolean
  can_admissions_download_phd_applications: boolean
  can_counsellor_view: boolean
  can_counsellor_add: boolean
  can_counsellor_delete: boolean
  can_leads_view: boolean
  can_leads_add: boolean
  can_leads_edit: boolean
  can_leads_delete: boolean
  can_leads_assign_counsellor: boolean
  can_leads_import: boolean
  can_leads_convert_to_admission: boolean
  can_notification_view: boolean
  can_notification_add: boolean
  can_notification_edit: boolean
  can_notification_delete: boolean
  can_lead_status_view: boolean
  can_lead_status_add: boolean
  can_lead_status_edit: boolean
  can_lead_status_delete: boolean
  can_lead_sources_view: boolean
  can_lead_sources_add: boolean
  can_lead_sources_edit: boolean
  can_lead_sources_delete: boolean
  can_quotas_view: boolean
  can_quotas_add: boolean
  can_quotas_edit: boolean
  can_quotas_delete: boolean
  can_counsellor_report_view: boolean
  can_caste_view: boolean
  can_caste_add: boolean
  can_caste_edit: boolean
  can_caste_delete: boolean
  can_enroll_x_view_audit_logs: boolean
  can_enroll_x_manage_settings: boolean
  can_enroll_x_concession_view: boolean
  can_enroll_x_concession_change_status: boolean
  can_student_certificates_view: boolean
  can_student_certificates_add: boolean
  can_student_certificates_edit: boolean
  can_student_certificates_delete: boolean
  can_manage_exams_profile_permissions_view: boolean
  can_manage_exams_profile_permissions_add: boolean
  can_manage_exams_profile_permissions_edit: boolean
  can_manage_exams_profile_permissions_delete: boolean
  can_end_semester_examinations_view: boolean
  can_end_semester_examinations_add: boolean
  can_end_semester_examinations_archive_exam: boolean
  can_end_semester_examinations_edit: boolean
  can_end_semester_examinations_notification_details_view: boolean
  can_exam_fee_configuration_view: boolean
  can_exam_fee_configuration_add: boolean
  can_exam_registrations_view: boolean
  can_exam_registrations_add: boolean
  can_exam_registrations_submit: boolean
  can_exam_registrations_challan_upload: boolean
  can_challan_registrations_add: boolean
  can_challan_registrations_view: boolean
  can_challan_upload_view: boolean
  can_challan_upload_add: boolean
  can_question_paper_upload_view: boolean
  can_question_paper_upload_add: boolean
  can_question_paper_upload_edit: boolean
  can_exam_timetable_view: boolean
  can_exam_timetable_add: boolean
  can_exam_timetable_edit: boolean
  can_exam_timetable_delete: boolean
  can_exam_time_slots_view: boolean
  can_exam_time_slots_add: boolean
  can_exam_time_slots_edit: boolean
  can_exam_time_slots_delete: boolean
  can_hall_tickets_view: boolean
  can_hall_tickets_download: boolean
  can_omrs_view: boolean
  can_omrs_update: boolean
  can_omrs_generate: boolean
  can_omrs_download: boolean
  can_paper_configuration_view: boolean
  can_paper_configuration_add: boolean
  can_paper_configuration_edit: boolean
  can_paper_configuration_delete: boolean
  can_paper_configuration_download: boolean
  can_d_forms_view: boolean
  can_d_forms_add: boolean
  can_d_forms_download: boolean
  can_view_answer_sheet_report: boolean
  can_bundling_view: boolean
  can_bundling_add: boolean
  can_bundling_edit: boolean
  can_bundling_delete: boolean
  can_bundling_update_bundle_status: boolean
  can_bundling_bundle_sheets_add: boolean
  can_bundling_bundle_sheets_remove: boolean
  can_internal_marks_view: boolean
  can_internal_marks_add: boolean
  can_internal_marks_edit: boolean
  can_internal_marks_import: boolean
  can_internal_marks_import_lms: boolean
  can_external_marks_view: boolean
  can_external_marks_add: boolean
  can_external_marks_edit: boolean
  can_results_processing_view_reports: boolean
  can_results_processing_moderation_and_grafting: boolean
  can_results_processing_generate_memos: boolean
  can_results_processing_publish_results: boolean
  can_revaluation_fee_configuration_view: boolean
  can_revaluation_fee_configuration_add: boolean
  can_revaluation_view: boolean
  can_revaluation_add_registrations: boolean
  can_revaluation_omrs: boolean
  can_revaluation_add_marks: boolean
  can_revaluation_edit_marks: boolean
  can_revaluation_process_reval: boolean
  can_revaluation_view_reports: boolean
  can_revaluation_generate_memos: boolean
  can_internal_examinations_view: boolean
  can_internal_examinations_add: boolean
  can_internal_examinations_edit: boolean
  can_internal_examinations_delete: boolean
  can_internal_examinations_manage_exam_fee: boolean
  can_seating_plan_view: boolean
  can_seating_plan_add: boolean
  can_seating_plan_delete: boolean
  can_invigilations_view: boolean
  can_invigilations_add: boolean
  can_evaluators_view: boolean
  can_evaluators_add: boolean
  can_evaluators_edit: boolean
  can_evaluators_delete: boolean
  can_grades_view: boolean
  can_grades_add: boolean
  can_grades_edit: boolean
  can_grades_delete: boolean
  can_exam_rooms_view: boolean
  can_exam_rooms_add: boolean
  can_exam_rooms_edit: boolean
  can_exam_rooms_delete: boolean
  can_marks_division_view: boolean
  can_marks_division_add: boolean
  can_marks_division_edit: boolean
  can_marks_division_delete: boolean
  can_exams_manage_settings: boolean
  can_internal_exam_paper_configuration_view: boolean
  can_internal_exam_paper_configuration_add: boolean
  can_internal_exam_paper_configuration_edit: boolean
  can_internal_exam_paper_configuration_delete: boolean
  can_internal_exam_timetable_view: boolean
  can_internal_exam_timetable_add: boolean
  can_internal_exam_timetable_edit: boolean
  can_internal_exam_timetable_delete: boolean
  can_exams_settings_view: boolean
  can_manage_hostels_profile_permissions_view: boolean
  can_manage_hostels_profile_permissions_add: boolean
  can_manage_hostels_profile_permissions_edit: boolean
  can_manage_hostels_profile_permissions_delete: boolean
  can_hostel_dashboard_view: boolean
  can_hostel_fee_payments_view: boolean
  can_hostel_reports_view: boolean
  can_hosteler_add: boolean
  can_hosteler_edit: boolean
  can_hosteler_view: boolean
  can_hosteler_delete: boolean
  can_hosteler_change_status: boolean
  can_hosteler_face_data_reset: boolean
  can_hosteler_consent_add: boolean
  can_hosteler_consent_edit: boolean
  can_hosteler_consent_delete: boolean
  can_hostel_fee_types_view: boolean
  can_hostel_fee_types_edit: boolean
  can_hostel_fee_types_delete: boolean
  can_hostel_fee_types_add: boolean
  can_hostel_blocks_view: boolean
  can_hostel_blocks_add: boolean
  can_hostel_blocks_edit: boolean
  can_hostel_blocks_delete: boolean
  can_hosteler_attendance_view: boolean
  can_hosteler_attendance_add: boolean
  can_hosteler_attendance_edit: boolean
  can_hostel_rooms_view: boolean
  can_hostel_rooms_edit: boolean
  can_hostel_rooms_delete: boolean
  can_hostel_rooms_add: boolean
  can_hostel_rooms_import: boolean
  can_hostel_amenities_view: boolean
  can_hostel_amenities_add: boolean
  can_hostel_amenities_edit: boolean
  can_hostel_amenities_delete: boolean
  can_hostels_manage_settings: boolean
  can_hostel_ticket_groups_view: boolean
  can_hostel_ticket_groups_add: boolean
  can_hostel_ticket_groups_edit: boolean
  can_hostel_ticket_groups_delete: boolean
  can_hostel_ticket_group_service_view: boolean
  can_hostel_ticket_group_service_add: boolean
  can_hostel_ticket_group_service_edit: boolean
  can_hostel_ticket_group_service_delete: boolean
  can_hostel_ticekt_group_users_view: boolean
  can_hostel_group_service_add: boolean
  can_hostel_group_service_delete: boolean
  can_hostel_tickets_view: boolean
  can_hostel_tickets_add: boolean
  can_hostel_tickets_edit: boolean
  can_hostel_tickets_delete: boolean
  can_manage_hrms_profile_permissions_view: boolean
  can_manage_hrms_profile_permissions_add: boolean
  can_manage_hrms_profile_permissions_edit: boolean
  can_manage_hrms_profile_permissions_delete: boolean
  can_view_information: boolean
  can_edit_information: boolean
  can_edit_special_information: boolean
  can_view_leave_tracker: boolean
  can_apply_leave: boolean
  can_view_employees: boolean
  can_edit_employees: boolean
  can_create_employees: boolean
  can_import_employees: boolean
  can_view_punch_logs: boolean
  can_view_time_sheet: boolean
  can_edit_time_sheet: boolean
  can_import_time_sheet: boolean
  can_export_time_sheet: boolean
  can_generate_time_sheet: boolean
  can_view_loss_of_pay: boolean
  can_view_leaves_usages: boolean
  can_edit_leaves_usages: boolean
  can_import_leaves_usages: boolean
  can_export_leaves_usages: boolean
  can_view_leaves_requests: boolean
  can_view_past_leaves_requests: boolean
  can_create_leaves_requests: boolean
  can_approve_leave_requests: boolean
  can_reject_leave_requests: boolean
  can_cancel_leave_requests: boolean
  can_view_departments: boolean
  can_add_departments: boolean
  can_import_departments: boolean
  can_export_departments: boolean
  can_edit_departments: boolean
  can_view_designations: boolean
  can_add_designations: boolean
  can_import_designations: boolean
  can_export_designations: boolean
  can_edit_designations: boolean
  can_view_leave_types: boolean
  can_add_leave_types: boolean
  can_edit_leave_types: boolean
  can_view_groups: boolean
  can_add_groups: boolean
  can_edit_groups_time_config: boolean
  can_edit_groups_leave_config: boolean
  can_view_database_config: boolean
  can_edit_database_config: boolean
  can_manage_commute_x_profile_permissions_view: boolean
  can_manage_commute_x_profile_permissions_add: boolean
  can_manage_commute_x_profile_permissions_edit: boolean
  can_manage_commute_x_profile_permissions_delete: boolean
  can_commute_x_registrations_view: boolean
  can_commute_x_registrations_add: boolean
  can_commute_x_registrations_edit: boolean
  can_commute_x_registrations_delete: boolean
  can_commute_x_routes_view: boolean
  can_commute_x_routes_add: boolean
  can_commute_x_routes_edit: boolean
  can_commute_x_routes_delete: boolean
  can_commute_x_manage_settings: boolean
  can_manage_admin_profile_permissions_view: boolean
  can_manage_admin_profile_permissions_add: boolean
  can_manage_admin_profile_permissions_edit: boolean
  can_manage_admin_profile_permissions_delete: boolean
  can_admin_manage_settings: boolean
  can_admin_manage_org_settings: boolean
  can_manage_user_profiles: boolean
  can_admin_institutions_view: boolean
  can_admin_institutions_add: boolean
  can_admin_institutions_edit: boolean
  can_admin_institutions_delete: boolean
  can_admin_institution_configuration_view: boolean
  can_admin_institution_configuration_edit: boolean
  can_admin_degrees_add: boolean
  can_admin_degrees_view: boolean
  can_admin_degrees_edit: boolean
  can_admin_degrees_delete: boolean
  can_admin_semesters_view: boolean
  can_admin_semesters_add: boolean
  can_admin_semesters_edit: boolean
  can_admin_semesters_delete: boolean
  can_admin_regulation_batches_view: boolean
  can_admin_regulation_batches_add: boolean
  can_admin_regulation_batches_edit: boolean
  can_admin_regulation_batches_delete: boolean
  can_admin_departments_view: boolean
  can_admin_departments_add: boolean
  can_admin_departments_edit: boolean
  can_admin_departments_delete: boolean
  can_admin_subject_types_view: boolean
  can_admin_subject_types_add: boolean
  can_admin_subject_types_edit: boolean
  can_admin_subject_types_delete: boolean
  can_admin_programs_add: boolean
  can_admin_programs_view: boolean
  can_admin_programs_edit: boolean
  can_admin_programs_delete: boolean
  can_admin_subjects_view: boolean
  can_admin_subjects_add: boolean
  can_admin_subjects_edit: boolean
  can_admin_subjects_delete: boolean
  can_admin_subjects_edit_subject_info: boolean
  can_admin_subjects_batch_config_view: boolean
  can_admin_subjects_batch_config_edit: boolean
  can_admin_students_view: boolean
  can_admin_students_add: boolean
  can_admin_students_edit: boolean
  can_admin_students_detain: boolean
  can_admin_students_import: boolean
  can_admin_students_export: boolean
  can_admin_students_results: boolean
  can_admin_students_upload_photos: boolean
  can_admin_students_transfer: boolean
  can_admin_students_allotment: boolean
  can_admin_student_info_view: boolean
  can_admin_student_academic_performance_view: boolean
  can_admin_student_attendance_view: boolean
  can_admin_student_payments_view: boolean
  can_admin_student_memos_view: boolean
  can_admin_student_backlogs_view: boolean
  can_admin_users_view: boolean
  can_admin_users_add: boolean
  can_admin_users_edit: boolean
  can_admin_users_delete: boolean
  can_admin_users_photos_upload: boolean
  can_admin_users_export: boolean
  can_admin_designations_add: boolean
  can_admin_designations_edit: boolean
  can_admin_designations_view: boolean
  can_admin_designations_delete: boolean
}

interface IPermissionsStore {
  permissions: IPermissions
}

export const PermissionsStore = new Store<IPermissionsStore>({
  permissions: null,
})
