@telos-dev-team/dealernode-permissions 1.1.20 → 1.1.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.
- package/dist/permissions.d.ts +5 -15
- package/dist/permissions.js +5 -15
- package/package.json +1 -1
- package/src/permissions.ts +5 -15
package/dist/permissions.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export declare const PERMISSIONS: {
|
|
|
15
15
|
readonly ASSIGN: "user.dealer.operations.assign";
|
|
16
16
|
readonly UPDATE: "user.dealer.operations.update";
|
|
17
17
|
readonly UNASSIGN: "user.dealer.operations.unassign";
|
|
18
|
+
readonly ACTIVATE: "user.dealer.operations.activate";
|
|
19
|
+
readonly DEACTIVATE: "user.dealer.operations.deactivate";
|
|
18
20
|
};
|
|
19
21
|
readonly ACTOR_TYPE: {
|
|
20
22
|
readonly VIEW: "user.dealer.actor_type.view";
|
|
@@ -593,21 +595,9 @@ export declare const PERMISSIONS: {
|
|
|
593
595
|
};
|
|
594
596
|
};
|
|
595
597
|
readonly ANALYTICS: {
|
|
596
|
-
readonly
|
|
597
|
-
readonly VIEW: "analytics.
|
|
598
|
-
|
|
599
|
-
readonly REPORTS: {
|
|
600
|
-
readonly VIEW: "analytics.reports.view";
|
|
601
|
-
readonly CREATE: "analytics.reports.create";
|
|
602
|
-
readonly UPDATE: "analytics.reports.update";
|
|
603
|
-
readonly DELETE: "analytics.reports.delete";
|
|
604
|
-
readonly EXECUTE: "analytics.reports.execute";
|
|
605
|
-
};
|
|
606
|
-
readonly TEMPLATES: {
|
|
607
|
-
readonly VIEW: "analytics.templates.view";
|
|
608
|
-
readonly CREATE: "analytics.templates.create";
|
|
609
|
-
readonly UPDATE: "analytics.templates.update";
|
|
610
|
-
readonly DELETE: "analytics.templates.delete";
|
|
598
|
+
readonly OPERATIONS: {
|
|
599
|
+
readonly VIEW: "analytics.operations.view";
|
|
600
|
+
readonly MANAGE: "analytics.operations.manage";
|
|
611
601
|
};
|
|
612
602
|
};
|
|
613
603
|
readonly AUTHORIZATION: {
|
package/dist/permissions.js
CHANGED
|
@@ -24,6 +24,8 @@ exports.PERMISSIONS = {
|
|
|
24
24
|
ASSIGN: "user.dealer.operations.assign",
|
|
25
25
|
UPDATE: "user.dealer.operations.update",
|
|
26
26
|
UNASSIGN: "user.dealer.operations.unassign",
|
|
27
|
+
ACTIVATE: "user.dealer.operations.activate",
|
|
28
|
+
DEACTIVATE: "user.dealer.operations.deactivate",
|
|
27
29
|
},
|
|
28
30
|
ACTOR_TYPE: {
|
|
29
31
|
VIEW: "user.dealer.actor_type.view",
|
|
@@ -656,21 +658,9 @@ exports.PERMISSIONS = {
|
|
|
656
658
|
// ANALYTICS
|
|
657
659
|
// ============================================
|
|
658
660
|
ANALYTICS: {
|
|
659
|
-
|
|
660
|
-
VIEW: "analytics.
|
|
661
|
-
|
|
662
|
-
REPORTS: {
|
|
663
|
-
VIEW: "analytics.reports.view",
|
|
664
|
-
CREATE: "analytics.reports.create",
|
|
665
|
-
UPDATE: "analytics.reports.update",
|
|
666
|
-
DELETE: "analytics.reports.delete",
|
|
667
|
-
EXECUTE: "analytics.reports.execute",
|
|
668
|
-
},
|
|
669
|
-
TEMPLATES: {
|
|
670
|
-
VIEW: "analytics.templates.view",
|
|
671
|
-
CREATE: "analytics.templates.create",
|
|
672
|
-
UPDATE: "analytics.templates.update",
|
|
673
|
-
DELETE: "analytics.templates.delete",
|
|
661
|
+
OPERATIONS: {
|
|
662
|
+
VIEW: "analytics.operations.view",
|
|
663
|
+
MANAGE: "analytics.operations.manage",
|
|
674
664
|
},
|
|
675
665
|
},
|
|
676
666
|
// ============================================
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -22,6 +22,8 @@ export const PERMISSIONS = {
|
|
|
22
22
|
ASSIGN: "user.dealer.operations.assign",
|
|
23
23
|
UPDATE: "user.dealer.operations.update",
|
|
24
24
|
UNASSIGN: "user.dealer.operations.unassign",
|
|
25
|
+
ACTIVATE: "user.dealer.operations.activate",
|
|
26
|
+
DEACTIVATE: "user.dealer.operations.deactivate",
|
|
25
27
|
},
|
|
26
28
|
ACTOR_TYPE: {
|
|
27
29
|
VIEW: "user.dealer.actor_type.view",
|
|
@@ -676,21 +678,9 @@ export const PERMISSIONS = {
|
|
|
676
678
|
// ANALYTICS
|
|
677
679
|
// ============================================
|
|
678
680
|
ANALYTICS: {
|
|
679
|
-
|
|
680
|
-
VIEW: "analytics.
|
|
681
|
-
|
|
682
|
-
REPORTS: {
|
|
683
|
-
VIEW: "analytics.reports.view",
|
|
684
|
-
CREATE: "analytics.reports.create",
|
|
685
|
-
UPDATE: "analytics.reports.update",
|
|
686
|
-
DELETE: "analytics.reports.delete",
|
|
687
|
-
EXECUTE: "analytics.reports.execute",
|
|
688
|
-
},
|
|
689
|
-
TEMPLATES: {
|
|
690
|
-
VIEW: "analytics.templates.view",
|
|
691
|
-
CREATE: "analytics.templates.create",
|
|
692
|
-
UPDATE: "analytics.templates.update",
|
|
693
|
-
DELETE: "analytics.templates.delete",
|
|
681
|
+
OPERATIONS: {
|
|
682
|
+
VIEW: "analytics.operations.view",
|
|
683
|
+
MANAGE: "analytics.operations.manage",
|
|
694
684
|
},
|
|
695
685
|
},
|
|
696
686
|
|