@campxdev/shared 1.8.10 → 1.8.11
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
CHANGED
|
@@ -40,6 +40,12 @@ export enum Permission {
|
|
|
40
40
|
ACADEMIC_CALENDAR_EVENT_EDIT = 'can_academic_calendar_event_edit',
|
|
41
41
|
ACADEMIC_CALENDAR_EVENT_DELETE = 'can_academic_calendar_event_delete',
|
|
42
42
|
|
|
43
|
+
//Departments
|
|
44
|
+
CAN_DEPARTMENTS_VIEW = 'can_departments_view',
|
|
45
|
+
CAN_DEPARTMENTS_ADD = 'can_departments_add',
|
|
46
|
+
CAN_DEPARTMENTS_EDIT = 'can_departments_edit',
|
|
47
|
+
CAN_DEPARTMENTS_DELETE = 'can_departments_delete',
|
|
48
|
+
|
|
43
49
|
//Designations
|
|
44
50
|
DESIGNATIONS_ADD = 'can_designations_add',
|
|
45
51
|
DESIGNATIONS_DELETE = 'can_designations_delete',
|
|
@@ -283,6 +289,13 @@ export interface IPermissions {
|
|
|
283
289
|
can_manage_semesters: boolean
|
|
284
290
|
can_manage_curriculums: boolean
|
|
285
291
|
can_manage_assessments: boolean
|
|
292
|
+
|
|
293
|
+
//department
|
|
294
|
+
can_departments_view: boolean
|
|
295
|
+
can_departments_add: boolean
|
|
296
|
+
can_departments_edit: boolean
|
|
297
|
+
can_departments_delete: boolean
|
|
298
|
+
|
|
286
299
|
can_users_add: boolean
|
|
287
300
|
can_users_edit: boolean
|
|
288
301
|
can_users_delete: boolean
|