@campxdev/shared 1.11.6 → 1.11.7-0.alpha-22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/.vscode/settings.json +3 -0
  2. package/exports.ts +4 -0
  3. package/package.json +17 -9
  4. package/src/assets/images/X.png +0 -0
  5. package/src/assets/images/active_devices.svg +3 -0
  6. package/src/assets/images/animation.gif +0 -0
  7. package/src/assets/images/change_password.svg +6 -0
  8. package/src/assets/images/clog_wheel.svg +6 -0
  9. package/src/assets/images/index.ts +28 -3
  10. package/src/assets/images/location.svg +6 -0
  11. package/src/assets/images/logout_icon.svg +6 -0
  12. package/src/assets/images/lottery.svg +22 -0
  13. package/src/assets/images/mobile.svg +7 -0
  14. package/src/assets/images/no_devices.svg +734 -0
  15. package/src/assets/images/notifications.svg +3 -0
  16. package/src/assets/images/profile.svg +6 -0
  17. package/src/assets/images/web.svg +13 -0
  18. package/src/components/ActiveDevices/ActiveDevices.tsx +60 -0
  19. package/src/components/ActiveDevices/DeviceInformationCard.tsx +97 -0
  20. package/src/components/ActiveDevices/index.ts +1 -0
  21. package/src/components/ActivityLog/ActivityLog.tsx +268 -0
  22. package/src/components/ActivityLog/Styles.tsx +35 -0
  23. package/src/components/ActivityLog/index.ts +1 -0
  24. package/src/components/ApplicationProfile/ApplicationProfile.tsx +1 -0
  25. package/src/components/ApplicationProfile/UserProfileRelation.tsx +4 -1
  26. package/src/components/DatabaseConfiguration/DatabaseConfiguration.tsx +28 -0
  27. package/src/components/DatabaseConfiguration/DatabaseConfigurationForm.tsx +87 -0
  28. package/src/components/DatabaseConfiguration/components/AddConnectionDrawerButton.tsx +30 -0
  29. package/src/components/DatabaseConfiguration/components/ConnectionCard.tsx +79 -0
  30. package/src/components/DatabaseConfiguration/index.ts +5 -0
  31. package/src/components/DatabaseConfiguration/service.ts +6 -0
  32. package/src/components/DatabaseConfiguration/styles.ts +30 -0
  33. package/src/components/DrawerWrapper/DialogTemplate.tsx +58 -0
  34. package/src/components/DrawerWrapper/DrawerWrapper.tsx +23 -7
  35. package/src/components/DrawerWrapper/ErrorTemplate.tsx +77 -0
  36. package/src/components/ErrorModal.tsx +88 -0
  37. package/src/components/ErrorModalWrapper/ErrorModalTemplate.tsx +118 -0
  38. package/src/components/ErrorModalWrapper/ErrorModalWrapper.tsx +76 -0
  39. package/src/components/FilterComponents/SearchBar.tsx +5 -2
  40. package/src/components/Form/Form.tsx +4 -1
  41. package/src/components/HookForm/AutoCompleteSearch.tsx +3 -0
  42. package/src/components/HookForm/MultiSelect.tsx +1 -0
  43. package/src/components/HookForm/SingleSelect.tsx +2 -2
  44. package/src/components/ImageUpload.tsx +4 -1
  45. package/src/components/Input/MultiSelect.tsx +1 -0
  46. package/src/components/Input/SearchSingleSelect.tsx +1 -1
  47. package/src/components/Input/SingleSelect.tsx +7 -7
  48. package/src/components/Institutions/InsititutionsDialog.tsx +2 -2
  49. package/src/components/Layout/Header/AppHeader.tsx +23 -6
  50. package/src/components/Layout/Header/HeaderActions/CogWheelMenu.tsx +2 -2
  51. package/src/components/Layout/Header/HeaderActions/HeaderActions.tsx +41 -16
  52. package/src/components/Layout/Header/HeaderActions/UserBox.tsx +48 -6
  53. package/src/components/Layout/Header/applications.ts +43 -30
  54. package/src/components/Layout/LayoutWrapper.tsx +82 -4
  55. package/src/components/Layout/SideNav.tsx +42 -9
  56. package/src/components/LoginForm.tsx +53 -1
  57. package/src/components/MongoCharts/MongoDashboard.tsx +146 -0
  58. package/src/components/MongoCharts/index.tsx +1 -0
  59. package/src/components/MyProfile/MyProfile.tsx +1 -1
  60. package/src/components/ReportHeader.tsx +2 -2
  61. package/src/components/Selectors/ClassRoomSelector.tsx +2 -2
  62. package/src/components/Selectors/CourseSelector.tsx +2 -2
  63. package/src/components/Selectors/DepartmentSelector.tsx +2 -2
  64. package/src/components/Selectors/ExamGroupSelector.tsx +19 -10
  65. package/src/components/Selectors/FacultySelector.tsx +2 -2
  66. package/src/components/Selectors/FeeTypeSelector.tsx +2 -2
  67. package/src/components/Selectors/FormSelectors/FormClassRoomSelector.tsx +2 -2
  68. package/src/components/Selectors/FormSelectors/FormCourseSelector.tsx +2 -2
  69. package/src/components/Selectors/FormSelectors/FormDepartmentSelector.tsx +2 -2
  70. package/src/components/Selectors/FormSelectors/FormExamGroupSelector.tsx +2 -2
  71. package/src/components/Selectors/FormSelectors/FormFacultySelector.tsx +2 -2
  72. package/src/components/Selectors/FormSelectors/FormFeeTypeSelector.tsx +2 -2
  73. package/src/components/Selectors/FormSelectors/FormProgramSelector.tsx +2 -2
  74. package/src/components/Selectors/FormSelectors/FormQuotaSelector.tsx +3 -3
  75. package/src/components/Selectors/FormSelectors/FormSemesterSelector.tsx +2 -2
  76. package/src/components/Selectors/FormSelectors/MultiSelect/MultiFacultySelector.tsx +2 -2
  77. package/src/components/Selectors/FormSelectors/MultiSelect/MultiFeeTypeSelector.tsx +2 -2
  78. package/src/components/Selectors/FormSelectors/MultiSelect/MultiProgramSelector.tsx +2 -2
  79. package/src/components/Selectors/FormSelectors/MultiSelect/MultiQuotaSelector.tsx +2 -2
  80. package/src/components/Selectors/ProgramSelector.tsx +3 -3
  81. package/src/components/Selectors/QuotaSelector.tsx +3 -3
  82. package/src/components/Selectors/SemesterSelector.tsx +2 -2
  83. package/src/components/SignatureFooter.tsx +35 -0
  84. package/src/components/SwitchButton.tsx +6 -1
  85. package/src/components/Tables/2DTable/Table.tsx +20 -23
  86. package/src/components/Tables/BasicTable/Table.tsx +22 -13
  87. package/src/components/Tables/BasicTable/TableFooter.tsx +35 -9
  88. package/src/components/Tables/BasicTable/styles.ts +1 -1
  89. package/src/components/Tables/ReactTable/ReactTable.tsx +42 -8
  90. package/src/components/Tables/common/types.ts +1 -0
  91. package/src/components/Tabs/TabsContainer.tsx +5 -5
  92. package/src/components/Tabs/styles.tsx +1 -0
  93. package/src/components/ToastContainer/ToastContainer.tsx +2 -3
  94. package/src/components/UploadButton/UploadButton.tsx +3 -1
  95. package/src/components/UploadButton/types.ts +2 -2
  96. package/src/components/UploadDocument.tsx +3 -0
  97. package/src/components/UploadFileDialog/UploadFileDialog.tsx +20 -9
  98. package/src/components/index.ts +5 -0
  99. package/src/config/axios.ts +5 -19
  100. package/src/constants/UIConstants.ts +65 -2
  101. package/src/constants/isDevelopment.ts +0 -1
  102. package/src/contexts/Providers.tsx +5 -43
  103. package/src/hooks/useAuth.ts +7 -0
  104. package/src/layouts/Components/styles.tsx +25 -7
  105. package/src/permissions/PermissionsStore.ts +658 -55
  106. package/src/permissions/ValidateAccess.tsx +37 -8
  107. package/src/shared-state/PermissionsStore.ts +779 -85
  108. package/src/theme/theme.d.ts +69 -35
  109. package/src/utils/debounce.ts +11 -0
  110. package/src/utils/getUrlParams.ts +13 -0
  111. package/src/utils/index.ts +6 -3
  112. package/src/utils/logout.ts +4 -8
@@ -195,10 +195,20 @@ export enum SquarePermissions {
195
195
  COURSE_REGISTRATION_DELETE = 'can_course_registration_delete',
196
196
 
197
197
  // Mentors
198
- CAN_MENTORS_VIEW = 'can_mentors_view',
199
- CAN_ALL_MENTORS_VIEW = 'can_all_mentors_view',
200
- CAN_MY_MENTEES_VIEW = 'can_my_mentees_view',
201
- CAN_SESSION_CREATE = 'can_session_create',
198
+ CAN_VIEW_MENTORS = 'can_view_mentors',
199
+ CAN_ADD_MENTORS = 'can_add_mentors',
200
+ CAN_ASSIGN_MENTEES = 'can_assign_mentees',
201
+ CAN_REMOVE_MENTEES = 'can_remove_mentees',
202
+ CAN_VIEW_MENTOR_REPORT = 'can_view_mentor_report',
203
+ CAN_COMMENT_ON_MENTOR_REPORT = 'can_comment_on_mentor_report',
204
+ CAN_VIEW_MENTEES = 'can_view_mentees',
205
+ CAN_CREATE_SESSION = 'can_create_session',
206
+ CAN_VIEW_MENTEE_REPORT = 'can_view_mentee_report',
207
+ CAN_VIEW_MENTOR_SESSIONS = 'can_view_mentor_sessions',
208
+ CAN_VIEW_MENTOR_SESSIONS_COMMENTS = 'can_view_mentor_sessions_comments',
209
+ CAN_ADD_MENTOR_SESSIONS_COMMENTS = 'can_add_mentor_sessions_comments',
210
+ CAN_EDIT_MENTOR_SESSIONS_COMMENTS = 'can_edit_mentor_sessions_comments',
211
+ CAN_DELETE_MENTOR_SESSIONS_COMMENTS = 'can_delete_mentor_sessions_comments',
202
212
 
203
213
  // Extra Cirricular activities
204
214
  EXTRA_CURRICULAR_ACTIVITIES_NEWS_FEED = 'can_extra_curricular_activities_news_feed',
@@ -347,6 +357,13 @@ export enum EnrollPermissions {
347
357
  CAN_ASSIGN_COUNSELLOR_LEADS = 'can_leads_assign_counsellor',
348
358
  CAN_LEADS_CONVERT_TO_ADMISSION = 'can_leads_convert_to_admission',
349
359
 
360
+ // Clusters
361
+ CAN_CLUSTERS_VIEW = 'can_clusters_view',
362
+ CAN_CLUSTERS_EDIT = 'can_clusters_edit',
363
+ CAN_CLUSTERS_ADD = 'can_clusters_add',
364
+ CAN_CLUSTERS_DELETE = 'can_clusters_delete',
365
+ CAN_CLUSTERS_DASHBOARD_VIEW = 'can_clusters_dashboard_view',
366
+
350
367
  // Counsellor
351
368
  CAN_COUNSELLOR_VIEW = 'can_counsellor_view',
352
369
  CAN_COUNSELLOR_ADD = 'can_counsellor_add',
@@ -378,6 +395,7 @@ export enum EnrollPermissions {
378
395
  CAN_PHD_FORM_VIEW = 'can_admissions_view_phd_applications',
379
396
  CAN_PHD_FORM_DOWNLOAD = 'can_admissions_download_phd_applications',
380
397
  CAN_CET_VIEW = 'can_admissions_view_cet',
398
+ CAN_EDIT_VIEW = 'can_admissions_edit_cet',
381
399
  CAN_CET_DOWNLOAD = 'can_admissions_download_cet',
382
400
 
383
401
  // Settings
@@ -484,6 +502,20 @@ export enum ExamsPermissions {
484
502
  CAN_RESULTS_PROCESSING_PUBLISH_RESULTS = 'can_results_processing_publish_results',
485
503
  CAN_RESULTS_PROCESSING_UPDATE_INTERNAL_MARKS = 'can_results_processing_update_internal_marks',
486
504
 
505
+ //Blocked Students
506
+ CAN_BLOCKED_STUDENTS_VIEW = 'can_blocked_students_view',
507
+ CAN_BLOCKED_STUDENTS_ADD = 'can_blocked_students_add',
508
+ CAN_BLOCKED_STUDENTS_IMPORT = 'can_blocked_students_import',
509
+ CAN_BLOCKED_STUDENTS_DELETE = 'can_blocked_students_delete',
510
+
511
+ //student grades
512
+ CAN_STUDENTS_GRADES_VIEW = 'can_students_grades_view',
513
+ CAN_STUDENTS_GRADES_IMPORT = 'can_students_grades_import',
514
+
515
+ //student memos
516
+ CAN_STUDENTS_MEMOS_VIEW = 'can_students_memos_view',
517
+ CAN_STUDENTS_MEMOS_GENERATE = 'can_students_memos_generate',
518
+
487
519
  // Revaluation Fee Configuration
488
520
  CAN_REVALUATION_FEE_CONFIGURATION_VIEW = 'can_revaluation_fee_configuration_view',
489
521
  CAN_REVAULATION_FEE_CONFIGURATION_ADD = 'can_revaluation_fee_configuration_add',
@@ -523,6 +555,12 @@ export enum ExamsPermissions {
523
555
  CAN_EVALUATORS_EDIT = 'can_evaluators_edit',
524
556
  CAN_EVALUATORS_DELETE = 'can_evaluators_delete',
525
557
 
558
+ //Grade Templates
559
+ CAN_GRADE_TEMPLATES_VIEW = 'can_grade_templates_view',
560
+ CAN_GRADE_TEMPLATES_ADD = 'can_grade_templates_add',
561
+ CAN_GRADE_TEMPLATES_EDIT = 'can_grade_templates_edit',
562
+ CAN_GRADE_TEMPLATES_DELETE = 'can_grade_templates_delete',
563
+
526
564
  // Grades
527
565
  CAN_GRADES_ADD = 'can_grades_add',
528
566
  CAN_GRADES_EDIT = 'can_grades_edit',
@@ -635,7 +673,8 @@ export enum Permission {
635
673
  CAN_DETAINED_STUDENT_VIEW = 'can_detained_student_view',
636
674
  CAN_DISCONTINUED_STUDENT_VIEW = 'can_discontinued_student_view',
637
675
  CAN_CONCESSION_REPORT_VIEW = 'can_concession_report_view',
638
- CAN_FEE_TYPE_SUMMARY_VIEW = 'can_fee_type_summary_report_view',
676
+ CAN_FEE_TYPE_SUMMARY_REPORT_VIEW = 'can_fee_type_summary_report_view',
677
+ CAN_PROGRAM_WISE_FEE_TYPE_REPORT_VIEW = 'can_program_wise_fee_type_report_view',
639
678
  CAN_EXAMINATION_REPORT_VIEW = 'can_examination_report_view',
640
679
  CAN_EXAMINATION_NOT_PAID_REPORT_VIEW = 'can_examination_not_paid_report_view',
641
680
  CAN_EXAMINATION_BLOCKED_STUDENTS_VIEW = 'can_examination_blocked_students_view',
@@ -869,10 +908,10 @@ export enum Permission {
869
908
  CAN_ADD_FEED = 'can_feed_add',
870
909
 
871
910
  // Degrees
872
- CAN_DEGRESS_ADD = 'can_degrees_add',
873
- CAN_DEGRESS_DELETE = 'can_degrees_delete',
874
- CAN_DEGRESS_EDIT = 'can_degrees_edit',
875
- CAN_DEGRESS_VIEW = 'can_degrees_view',
911
+ CAN_DEGREES_ADD = 'can_degrees_add',
912
+ CAN_DEGREES_DELETE = 'can_degrees_delete',
913
+ CAN_DEGREES_EDIT = 'can_degrees_edit',
914
+ CAN_DEGREES_VIEW = 'can_degrees_view',
876
915
 
877
916
  // Programs
878
917
  CAN_PROGRAMS_ADD = 'can_programs_add',
@@ -1012,6 +1051,7 @@ export enum Permission {
1012
1051
  CAN_COUNSELLOR_ADD = 'can_counsellor_add',
1013
1052
  CAN_COUNSELLOR_DELETE = 'can_counsellor_delete',
1014
1053
  CAN_COUNSELLOR_REPORT_VIEW = 'can_counsellor_report_view',
1054
+ CAN_LEAD_COUNSELLOR_REPORT_VIEW = 'can_lead_counsellor_report_view',
1015
1055
 
1016
1056
  // Concession enroll_x
1017
1057
  CAN_ENROLL_X_CONCESSION_VIEW = 'can_enroll_x_concession_view',
@@ -1044,6 +1084,7 @@ export enum Permission {
1044
1084
  CAN_PHD_FORM_VIEW = 'can_admissions_view_phd_applications',
1045
1085
  CAN_PHD_FORM_DOWNLOAD = 'can_admissions_download_phd_applications',
1046
1086
  CAN_CET_VIEW = 'can_admissions_view_cet',
1087
+ CAN_EDIT_VIEW = 'can_admissions_edit_cet',
1047
1088
  CAN_CET_DOWNLOAD = 'can_admissions_download_cet',
1048
1089
 
1049
1090
  // Settings
@@ -1074,6 +1115,12 @@ export enum Permission {
1074
1115
 
1075
1116
  // Exams
1076
1117
 
1118
+ // signatures permissions
1119
+ SIGNATURE_ADD = 'can_signatures_add',
1120
+ SIGNATURE_EDIT = 'can_signatures_edit',
1121
+ SIGNATURE_DELETE = 'can_signatures_delete',
1122
+ SIGNATURE_VIEW = 'can_signatures_view',
1123
+
1077
1124
  // manage exams profile_permissions
1078
1125
  CAN_MANAGE_EXAMS_PROFILE_PERMISSIONS_VIEW = 'can_manage_exams_profile_permissions_view',
1079
1126
  CAN_MANAGE_EXAMS_PROFILE_PERMISSIONS_ADD = 'can_manage_exams_profile_permissions_add',
@@ -1140,6 +1187,11 @@ export enum Permission {
1140
1187
  CAN_D_FORM_ADD = 'can_d_forms_add',
1141
1188
  CAN_D_FORM_DOWNLOAD = 'can_d_forms_download',
1142
1189
 
1190
+ // D Form Internal Exam
1191
+ CAN_INTERNAL_EXAM_D_FORM_VIEW = 'can_internal_exam_d_forms_view',
1192
+ CAN_INTERNAL_EXAM_D_FORM_ADD = 'can_internal_exam_d_forms_add',
1193
+ CAN_INTERNAL_EXAM_D_FORM_DOWNLOAD = 'can_internal_exam_d_forms_download',
1194
+
1143
1195
  // Bundling
1144
1196
  CAN_VIEW_ANSWER_SHEET_REPORT = 'can_view_answer_sheet_report',
1145
1197
  CAN_BUNDLING_VIEW = 'can_bundling_view',
@@ -1169,6 +1221,18 @@ export enum Permission {
1169
1221
  CAN_RESULTS_PROCESSING_PUBLISH_RESULTS = 'can_results_processing_publish_results',
1170
1222
  CAN_RESULTS_PROCESSING_UPDATE_INTERNAL_MARKS = 'can_results_processing_update_internal_marks',
1171
1223
 
1224
+ //Blocked Students
1225
+ CAN_BLOCKED_STUDENTS_VIEW = 'can_blocked_students_view',
1226
+ CAN_BLOCKED_STUDENTS_ADD = 'can_blocked_students_add',
1227
+ CAN_BLOCKED_STUDENTS_IMPORT = 'can_blocked_students_import',
1228
+ CAN_BLOCKED_STUDENTS_DELETE = 'can_blocked_students_delete',
1229
+ //student grades
1230
+ CAN_STUDENTS_GRADES_VIEW = 'can_students_grades_view',
1231
+ CAN_STUDENTS_GRADES_IMPORT = 'can_students_grades_import',
1232
+ //student memos
1233
+ CAN_STUDENTS_MEMOS_VIEW = 'can_students_memos_view',
1234
+ CAN_STUDENTS_MEMOS_GENERATE = 'can_students_memos_generate',
1235
+
1172
1236
  // Revaluation Fee Configuration
1173
1237
  CAN_REVALUATION_FEE_CONFIGURATION_VIEW = 'can_revaluation_fee_configuration_view',
1174
1238
  CAN_REVALUATION_FEE_CONFIGURATION_ADD = 'can_revaluation_fee_configuration_add',
@@ -1218,6 +1282,12 @@ export enum Permission {
1218
1282
  CAN_EVALUATORS_EDIT = 'can_evaluators_edit',
1219
1283
  CAN_EVALUATORS_DELETE = 'can_evaluators_delete',
1220
1284
 
1285
+ //Grade Templates
1286
+ CAN_GRADE_TEMPLATES_VIEW = 'can_grade_templates_view',
1287
+ CAN_GRADE_TEMPLATES_ADD = 'can_grade_templates_add',
1288
+ CAN_GRADE_TEMPLATES_EDIT = 'can_grade_templates_edit',
1289
+ CAN_GRADE_TEMPLATES_DELETE = 'can_grade_templates_delete',
1290
+
1221
1291
  // Grades
1222
1292
  CAN_GRADES_ADD = 'can_grades_add',
1223
1293
  CAN_GRADES_EDIT = 'can_grades_edit',
@@ -1293,6 +1363,11 @@ export enum Permission {
1293
1363
  CAN_REJECT_LEAVE_REQUESTS = 'can_reject_leave_requests',
1294
1364
  CAN_CANCEL_LEAVE_REQUESTS = 'can_cancel_leave_requests',
1295
1365
 
1366
+ //All Leave Requests
1367
+ VIEW_ALL_LEAVE_REQUESTS = 'can_view_all_leave_requests',
1368
+ CANCEL_ALL_LEAVE_REQUESTS = 'can_cancel_all_leave_requests',
1369
+ EXPORT_ALL_LEAVE_REQUESTS = 'can_export_all_leave_requests',
1370
+
1296
1371
  //Departments
1297
1372
  CAN_VIEW_DEPARTMENTS = 'can_view_departments',
1298
1373
  CAN_ADD_DEPARTMENTS = 'can_add_departments',
@@ -1329,58 +1404,120 @@ export enum Permission {
1329
1404
  CAN_CONFIGURE_FEEDBACK_FORM = 'can_configure_feedback_form',
1330
1405
  CAN_CHANGE_FEEDBACK_STATUS = 'can_change_feedback_status',
1331
1406
 
1407
+ // FACILITY Feedback
1408
+ VIEW_FACILITY_FEEDBACKS = 'can_view_facility_feedbacks',
1409
+ CREATE_FACILITY_FEEDBACK = 'can_create_facility_feedback',
1410
+ MANAGE_TARGET_AUDIENCE_FACILITY = 'can_manage_target_audience_facility',
1411
+ CONFIGURE_FEEDBACK_FORM_FACILITY = 'can_configure_feedback_form_facility',
1412
+ CHANGE_FEEDBACK_STATUS_FACILITY = 'can_change_feedback_status_facility',
1413
+
1332
1414
  //Feedback Questions
1333
1415
  CAN_VIEW_FEEDBACK_QUESTIONS = 'can_view_feedback_questions',
1334
1416
  CAN_CREATE_FEEDBACK_QUESTION = 'can_create_feedback_question',
1335
1417
  CAN_EDIT_FEEDBACK_QUESTION = 'can_edit_feedback_question',
1336
1418
  CAN_FINALIZE_FEEDBACK_QUESTION = 'can_finalize_feedback_question',
1337
1419
  CAN_DELETE_FEEDBACK_QUESTION = 'can_delete_feedback_question',
1420
+
1421
+ // Admin Permissions
1422
+ CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_VIEW = 'can_manage_admin_profile_permissions_view',
1423
+ CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_ADD = 'can_manage_admin_profile_permissions_add',
1424
+ CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_EDIT = 'can_manage_admin_profile_permissions_edit',
1425
+ CAN_MANAGE_ADMIN_PROFILE_PERMISSIONS_DELETE = 'can_manage_admin_profile_permissions_delete',
1426
+ CAN_ADMIN_MANAGE_SETTINGS = 'can_admin_manage_settings',
1427
+ CAN_ADMIN_MANAGE_ORG_SETTINGS = 'can_admin_manage_org_settings',
1428
+ CAN_MANAGE_USER_PROFILES = 'can_manage_user_profiles',
1429
+ CAN_ADMIN_INSTITUTIONS_VIEW = 'can_admin_institutions_view',
1430
+ CAN_ADMIN_INSTITUTIONS_ADD = 'can_admin_institutions_add',
1431
+ CAN_ADMIN_INSTITUTIONS_EDIT = 'can_admin_institutions_edit',
1432
+ CAN_ADMIN_INSTITUTIONS_DELETE = 'can_admin_institutions_delete',
1433
+ CAN_ADMIN_INSTITUTION_CONFIGURATION_VIEW = 'can_admin_institution_configuration_view',
1434
+ CAN_ADMIN_INSTITUTION_CONFIGURATION_EDIT = 'can_admin_institution_configuration_edit',
1435
+ CAN_ADMIN_DEGREES_ADD = 'can_admin_degrees_add',
1436
+ CAN_ADMIN_DEGREES_VIEW = 'can_admin_degrees_view',
1437
+ CAN_ADMIN_DEGREES_EDIT = 'can_admin_degrees_edit',
1438
+ CAN_ADMIN_DEGREES_DELETE = 'can_admin_degrees_delete',
1439
+ CAN_ADMIN_SEMESTERS_VIEW = 'can_admin_semesters_view',
1440
+ CAN_ADMIN_SEMESTERS_ADD = 'can_admin_semesters_add',
1441
+ CAN_ADMIN_SEMESTERS_EDIT = 'can_admin_semesters_edit',
1442
+ CAN_ADMIN_SEMESTERS_DELETE = 'can_admin_semesters_delete',
1443
+ CAN_ADMIN_REGULATION_BATCHES_VIEW = 'can_admin_regulation_batches_view',
1444
+ CAN_ADMIN_REGULATION_BATCHES_ADD = 'can_admin_regulation_batches_add',
1445
+ CAN_ADMIN_REGULATION_BATCHES_EDIT = 'can_admin_regulation_batches_edit',
1446
+ CAN_ADMIN_REGULATION_BATCHES_DELETE = 'can_admin_regulation_batches_delete',
1447
+ CAN_ADMIN_DEPARTMENTS_VIEW = 'can_admin_departments_view',
1448
+ CAN_ADMIN_DEPARTMENTS_ADD = 'can_admin_departments_add',
1449
+ CAN_ADMIN_DEPARTMENTS_EDIT = 'can_admin_departments_edit',
1450
+ CAN_ADMIN_DEPARTMENTS_DELETE = 'can_admin_departments_delete',
1451
+ CAN_ADMIN_SUBJECT_TYPES_VIEW = 'can_admin_subject_types_view',
1452
+ CAN_ADMIN_SUBJECT_TYPES_ADD = 'can_admin_subject_types_add',
1453
+ CAN_ADMIN_SUBJECT_TYPES_EDIT = 'can_admin_subject_types_edit',
1454
+ CAN_ADMIN_SUBJECT_TYPES_DELETE = 'can_admin_subject_types_delete',
1455
+ CAN_ADMIN_PROGRAMS_ADD = 'can_admin_programs_add',
1456
+ CAN_ADMIN_PROGRAMS_VIEW = 'can_admin_programs_view',
1457
+ CAN_ADMIN_PROGRAMS_EDIT = 'can_admin_programs_edit',
1458
+ CAN_ADMIN_PROGRAMS_DELETE = 'can_admin_programs_delete',
1459
+ CAN_ADMIN_SUBJECTS_VIEW = 'can_admin_subjects_view',
1460
+ CAN_ADMIN_SUBJECTS_ADD = 'can_admin_subjects_add',
1461
+ CAN_ADMIN_SUBJECTS_EDIT = 'can_admin_subjects_edit',
1462
+ CAN_ADMIN_SUBJECTS_DELETE = 'can_admin_subjects_delete',
1463
+ CAN_ADMIN_SUBJECTS_EDIT_SUBJECT_INFO = 'can_admin_subjects_edit_subject_info',
1464
+ CAN_ADMIN_SUBJECTS_BATCH_CONFIG_VIEW = 'can_admin_subjects_batch_config_view',
1465
+ CAN_ADMIN_SUBJECTS_BATCH_CONFIG_EDIT = 'can_admin_subjects_batch_config_edit',
1466
+ CAN_ADMIN_STUDENTS_VIEW = 'can_admin_students_view',
1467
+ CAN_ADMIN_STUDENTS_ADD = 'can_admin_students_add',
1468
+ CAN_ADMIN_STUDENTS_EDIT = 'can_admin_students_edit',
1469
+ CAN_ADMIN_STUDENTS_DETAIN = 'can_admin_students_detain',
1470
+ CAN_ADMIN_STUDENTS_IMPORT = 'can_admin_students_import',
1471
+ CAN_ADMIN_STUDENTS_EXPORT = 'can_admin_students_export',
1472
+ CAN_ADMIN_STUDENTS_RESULTS = 'can_admin_students_results',
1473
+ CAN_ADMIN_STUDENTS_UPLOAD_PHOTOS = 'can_admin_students_upload_photos',
1474
+ CAN_ADMIN_STUDENTS_TRANSFER = 'can_admin_students_transfer',
1475
+ CAN_ADMIN_STUDENTS_ALLOTMENT = 'can_admin_students_allotment',
1476
+ CAN_ADMIN_STUDENT_INFO_VIEW = 'can_admin_student_info_view',
1477
+ CAN_ADMIN_STUDENT_ACADEMIC_PERFORMANCE_VIEW = 'can_admin_student_academic_performance_view',
1478
+ CAN_ADMIN_STUDENT_ATTENDANCE_VIEW = 'can_admin_student_attendance_view',
1479
+ CAN_ADMIN_STUDENT_PAYMENTS_VIEW = 'can_admin_student_payments_view',
1480
+ CAN_ADMIN_STUDENT_MEMOS_VIEW = 'can_admin_student_memos_view',
1481
+ CAN_ADMIN_STUDENT_BACKLOGS_VIEW = 'can_admin_student_backlogs_view',
1482
+ CAN_ADMIN_USERS_VIEW = 'can_admin_users_view',
1483
+ CAN_ADMIN_USERS_ADD = 'can_admin_users_add',
1484
+ CAN_ADMIN_USERS_EDIT = 'can_admin_users_edit',
1485
+ CAN_ADMIN_USERS_DELETE = 'can_admin_users_delete',
1486
+ CAN_ADMIN_USERS_PHOTOS_UPLOAD = 'can_admin_users_photos_upload',
1487
+ CAN_ADMIN_USERS_EXPORT = 'can_admin_users_export',
1488
+ CAN_ADMIN_DESIGNATIONS_ADD = 'can_admin_designations_add',
1489
+ CAN_ADMIN_DESIGNATIONS_EDIT = 'can_admin_designations_edit',
1490
+ CAN_ADMIN_DESIGNATIONS_VIEW = 'can_admin_designations_view',
1491
+ CAN_ADMIN_DESIGNATIONS_DELETE = 'can_admin_designations_delete',
1492
+ CAN_ADMIN_DATA_IMPORTS_VIEW = 'can_admin_data_imports_view',
1493
+ CAN_ADMIN_DATA_IMPORTS_ADD = 'can_admin_data_imports_add',
1338
1494
  }
1339
1495
 
1340
1496
  export interface IPermissions {
1341
- // view
1497
+ can_signature_view: boolean
1498
+ can_signature_add: boolean
1499
+ can_signature_edit: boolean
1500
+ can_signature_delete: boolean
1501
+ can_manage_roles_and_profiles: boolean
1342
1502
  can_view_audit_logs: boolean
1343
- can_students_view: boolean
1344
- can_admissions_view: boolean
1503
+ can_manage_settings: boolean
1504
+ can_manage_org_settings: boolean
1505
+ can_manage_square_profile_permissions_view: boolean
1506
+ can_manage_square_profile_permissions_add: boolean
1507
+ can_manage_square_profile_permissions_edit: boolean
1508
+ can_manage_square_profile_permissions_delete: boolean
1345
1509
  can_users_view: boolean
1346
- can_subjects_view: boolean
1347
- can_course_registration_view: boolean
1348
-
1349
- can_internal_examinations_view: boolean
1350
- can_view_answer_sheet_report: boolean
1351
- can_feed_add: boolean
1352
- can_classroom_view: boolean
1353
- can_classroom_edit: boolean
1354
- can_classroom_delete: boolean
1355
- can_classroom_add: boolean
1356
- can_tasks_view: boolean
1357
- can_classroom_revoke_marks: boolean
1358
- // manage
1359
- can_manage_roles_and_profiles: boolean
1360
- can_manage_user_groups: boolean
1361
- can_manage_programs: boolean
1362
- can_manage_courses: boolean
1363
- can_manage_semesters: boolean
1364
- can_manage_curriculums: boolean
1365
- can_manage_assessments: boolean
1366
-
1367
- //department
1368
- can_departments_view: boolean
1369
- can_departments_add: boolean
1370
- can_departments_edit: boolean
1371
- can_departments_delete: boolean
1372
-
1373
1510
  can_users_add: boolean
1374
1511
  can_users_edit: boolean
1375
1512
  can_users_delete: boolean
1376
1513
  can_users_reorder: boolean
1377
- can_admissions_add: boolean
1378
- can_admissions_edit: boolean
1379
- can_admissions_delete: boolean
1380
- can_admissions_change_status: boolean
1381
- can_admissions_import: boolean
1382
- can_admissions_export: boolean
1383
- can_admissions_confirm: boolean
1514
+ can_user_upload_photos: boolean
1515
+ can_users_export: boolean
1516
+ can_email_report_cron_jobs_view: boolean
1517
+ can_email_report_cron_jobs_add: boolean
1518
+ can_email_report_cron_jobs_edit: boolean
1519
+ can_email_report_cron_jobs_delete: boolean
1520
+ can_students_view: boolean
1384
1521
  can_students_add: boolean
1385
1522
  can_students_edit: boolean
1386
1523
  can_students_delete: boolean
@@ -1391,64 +1528,615 @@ export interface IPermissions {
1391
1528
  can_students_upload_photos: boolean
1392
1529
  can_students_transfer: boolean
1393
1530
  can_students_allotment: boolean
1531
+ can_student_info_view: boolean
1532
+ can_student_academic_performance_view: boolean
1533
+ can_student_attendance_view: boolean
1534
+ can_student_payments_view: boolean
1535
+ can_student_memos_view: boolean
1536
+ can_student_backlogs_view: boolean
1537
+ can_subjects_view: boolean
1394
1538
  can_subjects_add: boolean
1395
1539
  can_subjects_edit: boolean
1396
1540
  can_subjects_delete: boolean
1397
1541
  can_subjects_edit_subject_info: boolean
1542
+ can_subjects_batch_config_edit: boolean
1543
+ can_subjects_batch_config_view: boolean
1544
+ can_course_registration_view: boolean
1398
1545
  can_course_registration_add: boolean
1399
1546
  can_course_registration_edit: boolean
1400
1547
  can_course_registration_delete: boolean
1401
- can_end_semester_examinations_view: boolean
1402
- can_end_semester_examinations_add: boolean
1403
- can_end_semester_examinations_edit: boolean
1404
- can_end_semester_examinations_delete: boolean
1405
- can_end_semester_examinations_seating_plan: boolean
1406
- can_end_semester_examinations_manage_exam_fee: boolean
1407
- can_end_semester_examinations_d_forms: boolean
1408
- can_end_semester_examinations_bundling: boolean
1409
- can_end_semester_examinations_marks_entry: boolean
1410
- can_end_semester_examinations_invigilations: boolean
1411
- can_examinations_seating_plan: boolean
1412
- can_internal_examinations_add: boolean
1413
- can_internal_examinations_edit: boolean
1414
- can_internal_examinations_delete: boolean
1415
- can_internal_examinations_manage_exam_fee: boolean
1416
- can_internal_examinations_manage_halltickets: boolean
1417
- can_internal_examinations_seating_plan: boolean
1418
- can_internal_examinations_invigilations: boolean
1548
+ can_infrastructure_view: boolean
1549
+ can_infrastructure_buildings_view: boolean
1550
+ can_infrastructure_buildings_add: boolean
1551
+ can_infrastructure_buildings_edit: boolean
1552
+ can_infrastructure_buildings_delete: boolean
1553
+ can_infrastructure_labs_view: boolean
1554
+ can_infrastructure_labs_add: boolean
1555
+ can_infrastructure_labs_edit: boolean
1556
+ can_infrastructure_labs_delete: boolean
1557
+ can_infrastructure_classrooms_view: boolean
1558
+ can_infrastructure_classrooms_add: boolean
1559
+ can_infrastructure_classrooms_edit: boolean
1560
+ can_infrastructure_classrooms_delete: boolean
1561
+ can_infrastructure_equipments_view: boolean
1562
+ can_infrastructure_equipments_add: boolean
1563
+ can_infrastructure_equipments_edit: boolean
1564
+ can_infrastructure_equipments_delete: boolean
1565
+ can_infrastructure_equipments_history_manage: boolean
1566
+ can_infrastructure_equipments_documents_manage: boolean
1567
+ can_view_mentors: boolean
1568
+ can_add_mentors: boolean
1569
+ can_assign_mentees: boolean
1570
+ can_remove_mentees: boolean
1571
+ can_view_mentor_report: boolean
1572
+ can_comment_on_mentor_report: boolean
1573
+ can_view_mentees: boolean
1574
+ can_create_session: boolean
1575
+ can_view_mentee_report: boolean
1576
+ can_view_mentor_sessions: boolean
1577
+ can_view_mentor_sessions_comments: boolean
1578
+ can_add_mentor_sessions_comments: boolean
1579
+ can_edit_mentor_sessions_comments: boolean
1580
+ can_delete_mentor_sessions_comments: boolean
1419
1581
  can_extra_curricular_activities_news_feed: boolean
1420
1582
  can_extra_curricular_activities_clubs: boolean
1421
1583
  can_extra_curricular_activities_events: boolean
1422
- can_edit_answer_sheet_marks: boolean
1423
- can_edit_external_marks: boolean
1424
- can_exam_collaterals: boolean
1425
- can_revalution: boolean
1426
- can_edit_internal_marks: boolean
1427
- can_process_results: boolean
1428
- can_generate_memos: boolean
1429
- can_individual_pages_view: boolean
1584
+ can_classroom_view: boolean
1585
+ can_classroom_add: boolean
1586
+ can_classroom_edit: boolean
1587
+ can_classroom_delete: boolean
1588
+ can_classroom_re_assign_faculty: boolean
1589
+ can_classroom_reports: boolean
1590
+ can_view_fee_due_report: boolean
1591
+ can_classroom_revoke_marks: boolean
1592
+ can_classroom_subjects_view: boolean
1593
+ can_classroom_subject_attendance_edit: boolean
1594
+ can_classroom_subject_assessment_create: boolean
1595
+ can_classroom_subject_assessment_delete: boolean
1596
+ can_classroom_subject_assessment_link_exam: boolean
1597
+ can_classroom_subject_session_delete: boolean
1598
+ can_classroom_session_add: boolean
1599
+ can_classroom_session_edit: boolean
1600
+ can_classroom_session_delete: boolean
1601
+ can_view_my_subjects: boolean
1602
+ can_feed_add: boolean
1603
+ can_degrees_add: boolean
1604
+ can_degrees_view: boolean
1605
+ can_degrees_edit: boolean
1606
+ can_degrees_delete: boolean
1607
+ can_programs_add: boolean
1608
+ can_programs_view: boolean
1609
+ can_programs_edit: boolean
1610
+ can_programs_delete: boolean
1611
+ can_semesters_view: boolean
1612
+ can_semesters_add: boolean
1613
+ can_semesters_edit: boolean
1614
+ can_semesters_delete: boolean
1615
+ can_notice_board_view: boolean
1616
+ can_notice_board_add: boolean
1617
+ can_notice_board_edit: boolean
1618
+ can_notice_board_delete: boolean
1619
+ can_research_project_view: boolean
1620
+ can_research_project_add: boolean
1621
+ can_research_project_edit: boolean
1622
+ can_research_project_delete: boolean
1623
+ can_configuration_view: boolean
1624
+ can_curriculums_add: boolean
1625
+ can_curriculums_view: boolean
1626
+ can_curriculums_edit: boolean
1627
+ can_curriculums_delete: boolean
1628
+ can_subject_types_view: boolean
1629
+ can_subject_types_add: boolean
1630
+ can_subject_types_edit: boolean
1631
+ can_subject_types_delete: boolean
1632
+ can_assessment_types_view: boolean
1633
+ can_assessment_types_add: boolean
1634
+ can_assessment_types_edit: boolean
1635
+ can_assessment_types_delete: boolean
1636
+ can_assessment_templates_add: boolean
1637
+ can_assessment_templates_view: boolean
1638
+ can_assessment_templates_edit: boolean
1639
+ can_assessment_templates_delete: boolean
1640
+ can_assessment_rules_view: boolean
1641
+ can_assessment_rules_add: boolean
1642
+ can_assessment_rules_edit: boolean
1643
+ can_assessment_rules_delete: boolean
1644
+ can_schools_view: boolean
1645
+ can_schools_add: boolean
1646
+ can_schools_edit: boolean
1647
+ can_schools_delete: boolean
1648
+ can_master_subject_view: boolean
1649
+ can_master_subject_add: boolean
1650
+ can_master_subject_edit: boolean
1651
+ can_master_subject_delete: boolean
1652
+ can_academic_calendar_view: boolean
1653
+ can_academic_calendar_event_add: boolean
1654
+ can_academic_calendar_event_edit: boolean
1655
+ can_academic_calendar_event_delete: boolean
1656
+ can_academic_calendar_timeline_view: boolean
1430
1657
  can_tasks_add: boolean
1431
1658
  can_tasks_edit: boolean
1432
1659
  can_tasks_change_status: boolean
1660
+ can_tasks_view: boolean
1433
1661
  can_tasks_delete: boolean
1434
- can_classroom_subject_attendance_edit: boolean
1435
- can_classroom_subjects_view: boolean
1662
+ can_time_slot_template_add: boolean
1663
+ can_time_slot_template_view: boolean
1664
+ can_time_slot_template_edit: boolean
1665
+ can_time_slot_template_delete: boolean
1666
+ can_time_slots_view: boolean
1667
+ can_time_slots_add: boolean
1668
+ can_time_slots_edit: boolean
1669
+ can_time_slots_delete: boolean
1670
+ can_departments_view: boolean
1671
+ can_departments_add: boolean
1672
+ can_departments_edit: boolean
1673
+ can_departments_delete: boolean
1674
+ can_designations_add: boolean
1675
+ can_designations_edit: boolean
1676
+ can_designations_view: boolean
1677
+ can_designations_delete: boolean
1678
+ can_form_builder_add: boolean
1679
+ can_form_builder_edit: boolean
1680
+ can_form_builder_view: boolean
1681
+ can_form_builder_delete: boolean
1682
+ can_surveys_add: boolean
1683
+ can_surveys_edit: boolean
1684
+ can_surveys_view: boolean
1685
+ can_surveys_delete: boolean
1686
+ can_view_feedbacks: boolean
1687
+ can_create_feedback: boolean
1688
+ can_manage_target_audience: boolean
1689
+ can_configure_feedback_form: boolean
1690
+ can_change_feedback_status: boolean
1691
+ can_view_feedback_questions: boolean
1692
+ can_create_feedback_question: boolean
1693
+ can_edit_feedback_question: boolean
1694
+ can_finalize_feedback_question: boolean
1695
+ can_delete_feedback_question: boolean
1696
+ can_institutions_view: boolean
1697
+ can_institutions_add: boolean
1698
+ can_institutions_edit: boolean
1699
+ can_institutions_delete: boolean
1700
+ can_institution_configuration_view: boolean
1701
+ can_institution_configuration_edit: boolean
1702
+ can_birds_eye_view: boolean
1703
+ can_manage_payments_profile_permissions_view: boolean
1704
+ can_manage_payments_profile_permissions_add: boolean
1705
+ can_manage_payments_profile_permissions_edit: boolean
1706
+ can_manage_payments_profile_permissions_delete: boolean
1707
+ can_fee_counter_academic_fee: boolean
1708
+ can_fee_counter_exam_fee: boolean
1709
+ can_payments_manage_settings: boolean
1710
+ can_payment_reports_view: boolean
1711
+ can_fee_report_view: boolean
1712
+ can_fee_due_list_view: boolean
1713
+ can_consolidated_fee_due_list_view: boolean
1714
+ can_advance_due_report_view: boolean
1715
+ can_fee_by_class_view: boolean
1716
+ can_branch_wise_report_view: boolean
1717
+ can_detained_student_view: boolean
1718
+ can_discontinued_student_view: boolean
1719
+ can_concession_report_view: boolean
1720
+ can_fee_type_summary_report_view: boolean
1721
+ can_program_wise_fee_type_report_view: boolean
1722
+ can_examination_report_view: boolean
1723
+ can_examination_not_paid_report_view: boolean
1724
+ can_examination_blocked_students_view: boolean
1725
+ can_payment_x_view_audit_logs: boolean
1726
+ can_fee_types_view: boolean
1727
+ can_fee_types_add: boolean
1728
+ can_fee_types_edit: boolean
1729
+ can_fee_types_delete: boolean
1730
+ can_fee_groups_view: boolean
1731
+ can_fee_groups_add: boolean
1732
+ can_fee_groups_edit: boolean
1733
+ can_fee_groups_delete: boolean
1734
+ can_fine_configurations_view: boolean
1735
+ can_fine_configurations_add: boolean
1736
+ can_fine_configurations_edit: boolean
1737
+ can_fine_configurations_delete: boolean
1738
+ can_student_permissions_view: boolean
1739
+ can_student_permissions_add: boolean
1740
+ can_student_permissions_edit: boolean
1741
+ can_student_permissions_delete: boolean
1742
+ can_fee_structure_view: boolean
1743
+ can_fee_structure_add: boolean
1744
+ can_fee_structure_edit: boolean
1745
+ can_fee_structure_delete: boolean
1746
+ can_concession_view: boolean
1747
+ can_concession_change_status: boolean
1748
+ can_concession_edit: boolean
1749
+ can_student_fee_card_view: boolean
1750
+ can_import_receipts_view: boolean
1751
+ can_import_credits_view: boolean
1752
+ can_transcation_card_view: boolean
1753
+ can_dashboard_view: boolean
1754
+ can_transfer_admissions: boolean
1755
+ can_restore_fee_transactions: boolean
1756
+ can_fees_import: boolean
1757
+ can_reports_view: boolean
1758
+ can_transaction_delete: boolean
1759
+ can_transaction_edit: boolean
1760
+ can_manage_enroll_x_profile_permissions_view: boolean
1761
+ can_manage_enroll_x_profile_permissions_add: boolean
1762
+ can_manage_enroll_x_profile_permissions_edit: boolean
1763
+ can_manage_enroll_x_profile_permissions_delete: boolean
1764
+ can_admissions_view: boolean
1765
+ can_admissions_add: boolean
1766
+ can_admissions_edit: boolean
1767
+ can_admissions_delete: boolean
1768
+ can_admissions_reject: boolean
1769
+ can_admissions_change_status: boolean
1770
+ can_admissions_change_quota: boolean
1771
+ can_admissions_import: boolean
1772
+ can_admissions_export: boolean
1773
+ can_admissions_confirmed_students: boolean
1774
+ can_admissions_confirm: boolean
1775
+ can_admission_graph_view: boolean
1776
+ can_admission_lead_remarks: boolean
1777
+ can_admission_approvals: boolean
1778
+ can_admission_dashboard_view: boolean
1779
+ can_admissions_view_cet: boolean
1780
+ can_admissions_edit_cet: boolean
1781
+ can_admissions_download_cet: boolean
1782
+ can_admissions_view_phd_applications: boolean
1783
+ can_admissions_download_phd_applications: boolean
1784
+ can_counsellor_view: boolean
1785
+ can_counsellor_add: boolean
1786
+ can_counsellor_delete: boolean
1787
+ can_leads_view: boolean
1788
+ can_leads_add: boolean
1789
+ can_leads_edit: boolean
1790
+ can_leads_delete: boolean
1791
+ can_leads_assign_counsellor: boolean
1792
+ can_leads_import: boolean
1793
+ can_leads_convert_to_admission: boolean
1794
+ can_clusters_view: boolean
1795
+ can_clusters_add: boolean
1796
+ can_clusters_edit: boolean
1797
+ can_clusters_delete: boolean
1798
+ can_clusters_dashboard_view: boolean
1799
+ can_notification_view: boolean
1800
+ can_notification_add: boolean
1801
+ can_notification_edit: boolean
1802
+ can_notification_delete: boolean
1803
+ can_lead_status_view: boolean
1804
+ can_lead_status_add: boolean
1805
+ can_lead_status_edit: boolean
1806
+ can_lead_status_delete: boolean
1807
+ can_lead_sources_view: boolean
1808
+ can_lead_sources_add: boolean
1809
+ can_lead_sources_edit: boolean
1810
+ can_lead_sources_delete: boolean
1811
+ can_quotas_view: boolean
1812
+ can_quotas_add: boolean
1813
+ can_quotas_edit: boolean
1814
+ can_quotas_delete: boolean
1815
+ can_counsellor_report_view: boolean
1816
+ can_lead_counsellor_report_view: boolean
1817
+ can_caste_view: boolean
1818
+ can_caste_add: boolean
1819
+ can_caste_edit: boolean
1820
+ can_caste_delete: boolean
1821
+ can_enroll_x_view_audit_logs: boolean
1822
+ can_enroll_x_manage_settings: boolean
1823
+ can_enroll_x_concession_view: boolean
1824
+ can_enroll_x_concession_change_status: boolean
1825
+ can_student_certificates_view: boolean
1826
+ can_student_certificates_add: boolean
1827
+ can_student_certificates_edit: boolean
1828
+ can_student_certificates_delete: boolean
1829
+ can_manage_exams_profile_permissions_view: boolean
1830
+ can_manage_exams_profile_permissions_add: boolean
1831
+ can_manage_exams_profile_permissions_edit: boolean
1832
+ can_manage_exams_profile_permissions_delete: boolean
1833
+ can_end_semester_examinations_view: boolean
1834
+ can_end_semester_examinations_add: boolean
1835
+ can_end_semester_examinations_archive_exam: boolean
1836
+ can_end_semester_examinations_edit: boolean
1837
+ can_end_semester_examinations_notification_details_view: boolean
1838
+ can_exam_fee_configuration_view: boolean
1839
+ can_exam_fee_configuration_add: boolean
1840
+ can_exam_registrations_view: boolean
1841
+ can_exam_registrations_add: boolean
1842
+ can_exam_registrations_submit: boolean
1843
+ can_exam_registrations_challan_upload: boolean
1844
+ can_challan_registrations_add: boolean
1845
+ can_challan_registrations_view: boolean
1846
+ can_challan_upload_view: boolean
1847
+ can_challan_upload_add: boolean
1848
+ can_question_paper_upload_view: boolean
1849
+ can_question_paper_upload_add: boolean
1850
+ can_question_paper_upload_edit: boolean
1851
+ can_exam_timetable_view: boolean
1852
+ can_exam_timetable_add: boolean
1853
+ can_exam_timetable_edit: boolean
1854
+ can_exam_timetable_delete: boolean
1855
+ can_exam_time_slots_view: boolean
1856
+ can_exam_time_slots_add: boolean
1857
+ can_exam_time_slots_edit: boolean
1858
+ can_exam_time_slots_delete: boolean
1859
+ can_hall_tickets_view: boolean
1860
+ can_hall_tickets_download: boolean
1861
+ can_omrs_view: boolean
1862
+ can_omrs_update: boolean
1863
+ can_omrs_generate: boolean
1864
+ can_omrs_download: boolean
1865
+ can_paper_configuration_view: boolean
1866
+ can_paper_configuration_add: boolean
1867
+ can_paper_configuration_edit: boolean
1868
+ can_paper_configuration_delete: boolean
1869
+ can_paper_configuration_download: boolean
1870
+ can_d_forms_view: boolean
1871
+ can_d_forms_add: boolean
1872
+ can_d_forms_download: boolean
1873
+ can_internal_d_forms_view: boolean
1874
+ can_internal_d_forms_add: boolean
1875
+ can_internal_d_forms_download: boolean
1876
+ can_view_answer_sheet_report: boolean
1877
+ can_bundling_view: boolean
1878
+ can_bundling_add: boolean
1879
+ can_bundling_edit: boolean
1880
+ can_bundling_delete: boolean
1881
+ can_bundling_update_bundle_status: boolean
1882
+ can_bundling_bundle_sheets_add: boolean
1883
+ can_bundling_bundle_sheets_remove: boolean
1884
+ can_internal_marks_view: boolean
1885
+ can_internal_marks_add: boolean
1886
+ can_internal_marks_edit: boolean
1436
1887
  can_internal_marks_import: boolean
1437
1888
  can_internal_marks_import_lms: boolean
1889
+ can_external_marks_view: boolean
1890
+ can_external_marks_add: boolean
1891
+ can_external_marks_edit: boolean
1892
+ can_results_processing_view_reports: boolean
1893
+ can_results_processing_moderation_and_grafting: boolean
1894
+ can_results_processing_generate_memos: boolean
1895
+ can_results_processing_publish_results: boolean
1896
+ can_blocked_students_view: boolean
1897
+ can_blocked_students_add: boolean
1898
+ can_blocked_students_import: boolean
1899
+ can_blocked_students_delete: boolean
1900
+ can_students_grades_view: boolean
1901
+ can_students_grades_import: boolean
1902
+ can_students_memos_view: boolean
1903
+ can_students_memos_generate: boolean
1904
+ can_revaluation_fee_configuration_view: boolean
1905
+ can_revaluation_fee_configuration_add: boolean
1906
+ can_revaluation_view: boolean
1907
+ can_revaluation_add_registrations: boolean
1908
+ can_revaluation_omrs: boolean
1909
+ can_revaluation_add_marks: boolean
1910
+ can_revaluation_edit_marks: boolean
1911
+ can_revaluation_process_reval: boolean
1912
+ can_revaluation_view_reports: boolean
1913
+ can_revaluation_generate_memos: boolean
1914
+ can_internal_examinations_view: boolean
1915
+ can_internal_examinations_add: boolean
1916
+ can_internal_examinations_edit: boolean
1917
+ can_internal_examinations_delete: boolean
1918
+ can_internal_examinations_manage_exam_fee: boolean
1919
+ can_seating_plan_view: boolean
1920
+ can_seating_plan_add: boolean
1921
+ can_seating_plan_delete: boolean
1922
+ can_invigilations_view: boolean
1923
+ can_invigilations_add: boolean
1924
+ can_evaluators_view: boolean
1925
+ can_evaluators_add: boolean
1926
+ can_evaluators_edit: boolean
1927
+ can_evaluators_delete: boolean
1928
+ can_grade_templates_view: boolean
1929
+ can_grade_templates_add: boolean
1930
+ can_grade_templates_edit: boolean
1931
+ can_grade_templates_delete: boolean
1932
+ can_grades_view: boolean
1438
1933
  can_grades_add: boolean
1439
1934
  can_grades_edit: boolean
1440
1935
  can_grades_delete: boolean
1441
- can_grades_view: boolean
1442
- can_assessment_templates_add: boolean
1443
- can_assessment_templates_edit: boolean
1444
- can_assessment_templates_view: boolean
1445
- can_assessment_templates_delete: boolean
1446
-
1447
- //
1448
- can_student_academic_performance_view: boolean
1449
- can_student_permissions_add: boolean
1450
- can_student_permissions_edit: boolean
1451
- can_student_permissions_delete: boolean
1936
+ can_exam_rooms_view: boolean
1937
+ can_exam_rooms_add: boolean
1938
+ can_exam_rooms_edit: boolean
1939
+ can_exam_rooms_delete: boolean
1940
+ can_marks_division_view: boolean
1941
+ can_marks_division_add: boolean
1942
+ can_marks_division_edit: boolean
1943
+ can_marks_division_delete: boolean
1944
+ can_exams_manage_settings: boolean
1945
+ can_internal_exam_paper_configuration_view: boolean
1946
+ can_internal_exam_paper_configuration_add: boolean
1947
+ can_internal_exam_paper_configuration_edit: boolean
1948
+ can_internal_exam_paper_configuration_delete: boolean
1949
+ can_internal_exam_timetable_view: boolean
1950
+ can_internal_exam_timetable_add: boolean
1951
+ can_internal_exam_timetable_edit: boolean
1952
+ can_internal_exam_timetable_delete: boolean
1953
+ can_exams_settings_view: boolean
1954
+ can_manage_hostels_profile_permissions_view: boolean
1955
+ can_manage_hostels_profile_permissions_add: boolean
1956
+ can_manage_hostels_profile_permissions_edit: boolean
1957
+ can_manage_hostels_profile_permissions_delete: boolean
1958
+ can_hostel_dashboard_view: boolean
1959
+ can_hostel_fee_payments_view: boolean
1960
+ can_hostel_reports_view: boolean
1961
+ can_hosteler_add: boolean
1962
+ can_hosteler_edit: boolean
1963
+ can_hosteler_view: boolean
1964
+ can_hosteler_delete: boolean
1965
+ can_hosteler_change_status: boolean
1966
+ can_hosteler_face_data_reset: boolean
1967
+ can_hosteler_consent_add: boolean
1968
+ can_hosteler_consent_edit: boolean
1969
+ can_hosteler_consent_delete: boolean
1970
+ can_hostel_fee_types_view: boolean
1971
+ can_hostel_fee_types_edit: boolean
1972
+ can_hostel_fee_types_delete: boolean
1973
+ can_hostel_fee_types_add: boolean
1974
+ can_hostel_blocks_view: boolean
1975
+ can_hostel_blocks_add: boolean
1976
+ can_hostel_blocks_edit: boolean
1977
+ can_hostel_blocks_delete: boolean
1978
+ can_hosteler_attendance_view: boolean
1979
+ can_hosteler_attendance_add: boolean
1980
+ can_hosteler_attendance_edit: boolean
1981
+ can_hostel_rooms_view: boolean
1982
+ can_hostel_rooms_edit: boolean
1983
+ can_hostel_rooms_delete: boolean
1984
+ can_hostel_rooms_add: boolean
1985
+ can_hostel_rooms_import: boolean
1986
+ can_hostel_amenities_view: boolean
1987
+ can_hostel_amenities_add: boolean
1988
+ can_hostel_amenities_edit: boolean
1989
+ can_hostel_amenities_delete: boolean
1990
+ can_hostels_manage_settings: boolean
1991
+ can_hostel_ticket_groups_view: boolean
1992
+ can_hostel_ticket_groups_add: boolean
1993
+ can_hostel_ticket_groups_edit: boolean
1994
+ can_hostel_ticket_groups_delete: boolean
1995
+ can_hostel_ticket_group_service_view: boolean
1996
+ can_hostel_ticket_group_service_add: boolean
1997
+ can_hostel_ticket_group_service_edit: boolean
1998
+ can_hostel_ticket_group_service_delete: boolean
1999
+ can_hostel_ticekt_group_users_view: boolean
2000
+ can_hostel_group_service_add: boolean
2001
+ can_hostel_group_service_delete: boolean
2002
+ can_hostel_tickets_view: boolean
2003
+ can_hostel_tickets_add: boolean
2004
+ can_hostel_tickets_edit: boolean
2005
+ can_hostel_tickets_delete: boolean
2006
+ can_manage_hrms_profile_permissions_view: boolean
2007
+ can_manage_hrms_profile_permissions_add: boolean
2008
+ can_manage_hrms_profile_permissions_edit: boolean
2009
+ can_manage_hrms_profile_permissions_delete: boolean
2010
+ can_view_information: boolean
2011
+ can_edit_information: boolean
2012
+ can_edit_special_information: boolean
2013
+ can_view_leave_tracker: boolean
2014
+ can_apply_leave: boolean
2015
+ can_view_employees: boolean
2016
+ can_edit_employees: boolean
2017
+ can_create_employees: boolean
2018
+ can_import_employees: boolean
2019
+ can_view_punch_logs: boolean
2020
+ can_view_time_sheet: boolean
2021
+ can_edit_time_sheet: boolean
2022
+ can_import_time_sheet: boolean
2023
+ can_export_time_sheet: boolean
2024
+ can_generate_time_sheet: boolean
2025
+ can_view_loss_of_pay: boolean
2026
+ can_view_leaves_usages: boolean
2027
+ can_edit_leaves_usages: boolean
2028
+ can_import_leaves_usages: boolean
2029
+ can_export_leaves_usages: boolean
2030
+ can_view_leaves_requests: boolean
2031
+ can_view_past_leaves_requests: boolean
2032
+ can_create_leaves_requests: boolean
2033
+ can_approve_leave_requests: boolean
2034
+ can_reject_leave_requests: boolean
2035
+ can_cancel_leave_requests: boolean
2036
+ can_view_departments: boolean
2037
+ can_add_departments: boolean
2038
+ can_import_departments: boolean
2039
+ can_export_departments: boolean
2040
+ can_edit_departments: boolean
2041
+ can_view_designations: boolean
2042
+ can_add_designations: boolean
2043
+ can_import_designations: boolean
2044
+ can_export_designations: boolean
2045
+ can_edit_designations: boolean
2046
+ can_view_leave_types: boolean
2047
+ can_add_leave_types: boolean
2048
+ can_edit_leave_types: boolean
2049
+ can_view_groups: boolean
2050
+ can_add_groups: boolean
2051
+ can_edit_groups_time_config: boolean
2052
+ can_edit_groups_leave_config: boolean
2053
+ can_view_database_config: boolean
2054
+ can_edit_database_config: boolean
2055
+ can_manage_commute_x_profile_permissions_view: boolean
2056
+ can_manage_commute_x_profile_permissions_add: boolean
2057
+ can_manage_commute_x_profile_permissions_edit: boolean
2058
+ can_manage_commute_x_profile_permissions_delete: boolean
2059
+ can_commute_x_registrations_view: boolean
2060
+ can_commute_x_registrations_add: boolean
2061
+ can_commute_x_registrations_edit: boolean
2062
+ can_commute_x_registrations_delete: boolean
2063
+ can_commute_x_routes_view: boolean
2064
+ can_commute_x_routes_add: boolean
2065
+ can_commute_x_routes_edit: boolean
2066
+ can_commute_x_routes_delete: boolean
2067
+ can_commute_x_manage_settings: boolean
2068
+ can_manage_admin_profile_permissions_view: boolean
2069
+ can_manage_admin_profile_permissions_add: boolean
2070
+ can_manage_admin_profile_permissions_edit: boolean
2071
+ can_manage_admin_profile_permissions_delete: boolean
2072
+ can_admin_manage_settings: boolean
2073
+ can_admin_manage_org_settings: boolean
2074
+ can_manage_user_profiles: boolean
2075
+ can_admin_institutions_view: boolean
2076
+ can_admin_institutions_add: boolean
2077
+ can_admin_institutions_edit: boolean
2078
+ can_admin_institutions_delete: boolean
2079
+ can_admin_institution_configuration_view: boolean
2080
+ can_admin_institution_configuration_edit: boolean
2081
+ can_admin_degrees_add: boolean
2082
+ can_admin_degrees_view: boolean
2083
+ can_admin_degrees_edit: boolean
2084
+ can_admin_degrees_delete: boolean
2085
+ can_admin_semesters_view: boolean
2086
+ can_admin_semesters_add: boolean
2087
+ can_admin_semesters_edit: boolean
2088
+ can_admin_semesters_delete: boolean
2089
+ can_admin_regulation_batches_view: boolean
2090
+ can_admin_regulation_batches_add: boolean
2091
+ can_admin_regulation_batches_edit: boolean
2092
+ can_admin_regulation_batches_delete: boolean
2093
+ can_admin_departments_view: boolean
2094
+ can_admin_departments_add: boolean
2095
+ can_admin_departments_edit: boolean
2096
+ can_admin_departments_delete: boolean
2097
+ can_admin_subject_types_view: boolean
2098
+ can_admin_subject_types_add: boolean
2099
+ can_admin_subject_types_edit: boolean
2100
+ can_admin_subject_types_delete: boolean
2101
+ can_admin_programs_add: boolean
2102
+ can_admin_programs_view: boolean
2103
+ can_admin_programs_edit: boolean
2104
+ can_admin_programs_delete: boolean
2105
+ can_admin_subjects_view: boolean
2106
+ can_admin_subjects_add: boolean
2107
+ can_admin_subjects_edit: boolean
2108
+ can_admin_subjects_delete: boolean
2109
+ can_admin_subjects_edit_subject_info: boolean
2110
+ can_admin_subjects_batch_config_view: boolean
2111
+ can_admin_subjects_batch_config_edit: boolean
2112
+ can_admin_students_view: boolean
2113
+ can_admin_students_add: boolean
2114
+ can_admin_students_edit: boolean
2115
+ can_admin_students_detain: boolean
2116
+ can_admin_students_import: boolean
2117
+ can_admin_students_export: boolean
2118
+ can_admin_students_results: boolean
2119
+ can_admin_students_upload_photos: boolean
2120
+ can_admin_students_transfer: boolean
2121
+ can_admin_students_allotment: boolean
2122
+ can_admin_student_info_view: boolean
2123
+ can_admin_student_academic_performance_view: boolean
2124
+ can_admin_student_attendance_view: boolean
2125
+ can_admin_student_payments_view: boolean
2126
+ can_admin_student_memos_view: boolean
2127
+ can_admin_student_backlogs_view: boolean
2128
+ can_admin_users_view: boolean
2129
+ can_admin_users_add: boolean
2130
+ can_admin_users_edit: boolean
2131
+ can_admin_users_delete: boolean
2132
+ can_admin_users_photos_upload: boolean
2133
+ can_admin_users_export: boolean
2134
+ can_admin_designations_add: boolean
2135
+ can_admin_designations_edit: boolean
2136
+ can_admin_designations_view: boolean
2137
+ can_admin_designations_delete: boolean
2138
+ can_admin_data_imports_view: boolean
2139
+ can_admin_data_imports_add: boolean
1452
2140
  }
1453
2141
 
1454
2142
  interface IPermissionsStore {
@@ -1457,6 +2145,9 @@ interface IPermissionsStore {
1457
2145
  institutionType: 'MASTER_CHILD' | 'INDIVIDUAL'
1458
2146
  masterInstitutionUniqueId?: number
1459
2147
  masterInstitutionId?: string
2148
+ isMasterInstitution: boolean
2149
+ isMasterInstitutionUser?: boolean
2150
+ isHomePageEnabled?: boolean
1460
2151
  }
1461
2152
 
1462
2153
  export const PermissionsStore = new Store<IPermissionsStore>({
@@ -1465,4 +2156,7 @@ export const PermissionsStore = new Store<IPermissionsStore>({
1465
2156
  institutionType: null,
1466
2157
  masterInstitutionUniqueId: null,
1467
2158
  masterInstitutionId: null,
2159
+ isMasterInstitution: false,
2160
+ isMasterInstitutionUser: false,
2161
+ isHomePageEnabled: false,
1468
2162
  })