@driveflux/auth 4.0.56 → 4.0.58

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.
@@ -16,4 +16,5 @@ export const defineRoleAbilitiesHeadOfBusinessDevelopment = async (can, cannot)=
16
16
  'Applicant'
17
17
  ]);
18
18
  can('updateSubscriptionUser', 'Subscription');
19
+ can('manageAdmin', 'Reports');
19
20
  };
@@ -19,4 +19,5 @@ export const defineRoleAbilitiesHeadOfEngineering = async (can, cannot)=>{
19
19
  'Vacancy',
20
20
  'Applicant'
21
21
  ]);
22
+ can('manageAdmin', 'Reports');
22
23
  };
@@ -7,4 +7,5 @@ export const defineRoleAbilitiesHeadOfFinance = async (can, cannot)=>{
7
7
  'Vacancy',
8
8
  'Applicant'
9
9
  ]);
10
+ can('manageAdmin', 'Reports');
10
11
  };
@@ -15,4 +15,5 @@ export const defineRoleAbilitiesHeadOfHumanResources = async (can, cannot)=>{
15
15
  cannot('update', 'Host', [
16
16
  'accountManagerId'
17
17
  ]);
18
+ can('manageAdmin', 'Reports');
18
19
  };
@@ -18,4 +18,5 @@ export const defineRoleAbilitiesHeadOfMarketing = async (can, cannot)=>{
18
18
  'Vacancy',
19
19
  'Applicant'
20
20
  ]);
21
+ can('manageAdmin', 'Reports');
21
22
  };
@@ -8,4 +8,5 @@ export const defineRoleAbilitiesHeadOfOperations = async (can, cannot)=>{
8
8
  'Applicant'
9
9
  ]);
10
10
  can('updateSubscriptionUser', 'Subscription');
11
+ can('manageAdmin', 'Reports');
11
12
  };
@@ -19,4 +19,5 @@ export const defineRoleAbilitiesHeadOfProduct = async (can, cannot)=>{
19
19
  'Vacancy',
20
20
  'Applicant'
21
21
  ]);
22
+ can('manageAdmin', 'Reports');
22
23
  };
@@ -18,4 +18,5 @@ export const defineRoleAbilitiesHeadOfSales = async (can, cannot)=>{
18
18
  'Vacancy',
19
19
  'Applicant'
20
20
  ]);
21
+ can('manageAdmin', 'Reports');
21
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/auth",
3
- "version": "4.0.56",
3
+ "version": "4.0.58",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {