@routebot/constants 0.3.14 → 0.3.15
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.
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
const PERMISSION_TYPES = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ACCESS_TO_ADMIN: "accessToAdmin", // manual integration - be careful with this one
|
|
3
|
+
ACCESS_TO_GIVE_PERMISSIONS: "accessToGivePermissions", // only first sign up is true - be careful with this one
|
|
4
4
|
ACCESS_TO_PERSONELS: "accessToPersonels", // Initial selection is company domain based
|
|
5
5
|
ACCESS_TO_STUDENTS: "accessToStudents", // Initial selection is company domain based
|
|
6
|
-
ACCESS_TO_SHIFTS: "accessToShifts", //
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
ACCESS_TO_SHIFTS: "accessToShifts", // feature based
|
|
7
|
+
ACCESS_TO_SERVICE_REPORTS: "accessToServiceReports", // feature based
|
|
8
|
+
ACCESS_TO_ACCOUNTING: "accessToAccounting", // feature based
|
|
9
|
+
ACCESS_TO_TRANSFERS: "accessToTransfers", // feature based
|
|
10
|
+
ACCESS_TO_LIVE: "accessToLive", // feature based
|
|
11
|
+
ACCESS_TO_INVENTORY: "accessToInventory", // feature based
|
|
12
|
+
ACCESS_TO_WRITE_INVENTORY: "accessToWriteInventory", // feature based
|
|
13
|
+
ACCESS_TO_SERVISTESIN: "accessToServistesin", // feature based
|
|
14
|
+
ACCESS_TO_TRACK_VEHICLE_ONLY: "accessToTrackVehicleOnly", // manual integration
|
|
15
|
+
ACCESS_TO_SCHOOLS: "accessToSchools", // Navigation level - always true for now
|
|
16
|
+
ACCESS_TO_USERS: "accessToUsers", // Navigation level - always true for now
|
|
17
|
+
ACCESS_TO_IKARUS: "accessToIkarus", // should be always false for now
|
|
18
|
+
ACCESS_TO_STOPS: "accessToStops", // should be always false for now
|
|
19
|
+
ACCESS_TO_WALKING_DISTANCE: "accessToWalkingDistance", // should be always false for now
|
|
20
|
+
USE_DESCRIPTION: "useDescription", // dont know yet
|
|
21
|
+
USE_CARD_ID: "useCardId", // dont know yet
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
module.exports = {
|