@campxdev/shared 2.0.11 → 2.0.13
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.
- package/package.json +1 -1
- package/src/shared-state/PermissionsStore.ts +19 -0
- package/yarn-error.log +0 -15782
package/package.json
CHANGED
|
@@ -860,6 +860,15 @@ export enum Permission {
|
|
|
860
860
|
CLASSROOM_DELETE = 'can_classroom_delete',
|
|
861
861
|
CLASSROOM_ADD = 'can_classroom_add',
|
|
862
862
|
CLASSROOM_REPORTS = 'can_classroom_reports',
|
|
863
|
+
|
|
864
|
+
CAN_CLASSROOM_ATTENDANCE_ISSUES_VIEW = 'can_classroom_attendance_issues_view',
|
|
865
|
+
CAN_CLASSROOM_ATTENDANCE_ISSUES_RESOLVE = 'can_classroom_attendance_issues_resolve',
|
|
866
|
+
|
|
867
|
+
CAN_CLASSROOM_SECONDARY_ATTENDANCE_VIEW = 'can_classroom_secondary_attendance_view',
|
|
868
|
+
CAN_CLASSROOM_SECONDARY_ATTENDANCE_ADD = 'can_classroom_secondary_attendance_add',
|
|
869
|
+
CAN_CLASSROOM_SECONDARY_ATTENDANCE_EDIT = 'can_classroom_secondary_attendance_edit',
|
|
870
|
+
CAN_CLASSROOM_SECONDARY_ATTENDANCE_DELETE = 'can_classroom_secondary_attendance_delete',
|
|
871
|
+
|
|
863
872
|
CLASSROOM_REASSIGN_FACULTY = 'can_classroom_re_assign_faculty',
|
|
864
873
|
CAN_REVOKE_MARKS = 'can_classroom_revoke_marks',
|
|
865
874
|
CAN_CLASSROOM_SUBJECTS_VIEW = 'can_classroom_subjects_view',
|
|
@@ -908,6 +917,10 @@ export enum Permission {
|
|
|
908
917
|
// Feed
|
|
909
918
|
CAN_ADD_FEED = 'can_feed_add',
|
|
910
919
|
|
|
920
|
+
//Id cards
|
|
921
|
+
VIEW_ID_CARDS = 'can_view_id_cards',
|
|
922
|
+
GENERATE_ID_CARDS = 'can_generate_id_cards',
|
|
923
|
+
|
|
911
924
|
// Degrees
|
|
912
925
|
CAN_DEGREES_ADD = 'can_degrees_add',
|
|
913
926
|
CAN_DEGREES_DELETE = 'can_degrees_delete',
|
|
@@ -2140,6 +2153,12 @@ export interface IPermissions {
|
|
|
2140
2153
|
can_admin_designations_delete: boolean
|
|
2141
2154
|
can_admin_data_imports_view: boolean
|
|
2142
2155
|
can_admin_data_imports_add: boolean
|
|
2156
|
+
can_classroom_attendance_issues_view: boolean
|
|
2157
|
+
can_classroom_attendance_issues_resolve: boolean
|
|
2158
|
+
can_classroom_secondary_attendance_view: boolean
|
|
2159
|
+
can_classroom_secondary_attendance_add: boolean
|
|
2160
|
+
can_classroom_secondary_attendance_edit: boolean
|
|
2161
|
+
can_classroom_secondary_attendance_delete: boolean
|
|
2143
2162
|
}
|
|
2144
2163
|
|
|
2145
2164
|
interface IPermissionsStore {
|