@flusys/nestjs-iam 8.0.1 → 8.0.2
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/fesm/284.js +0 -3
- package/package.json +3 -3
package/fesm/284.js
CHANGED
|
@@ -775,7 +775,6 @@ function user_action_permission_controller_ts_param(paramIndex, decorator) {
|
|
|
775
775
|
|
|
776
776
|
|
|
777
777
|
|
|
778
|
-
|
|
779
778
|
class UserActionPermissionController {
|
|
780
779
|
permissionService;
|
|
781
780
|
config;
|
|
@@ -785,7 +784,6 @@ class UserActionPermissionController {
|
|
|
785
784
|
this.config = config;
|
|
786
785
|
}
|
|
787
786
|
async assignUserActions(dto, user) {
|
|
788
|
-
(0,helpers/* .validateCompanyAccess */.u)(this.config, dto.companyId, user);
|
|
789
787
|
const result = await this.permissionService.assignUserActions(dto);
|
|
790
788
|
return {
|
|
791
789
|
success: true,
|
|
@@ -800,7 +798,6 @@ class UserActionPermissionController {
|
|
|
800
798
|
};
|
|
801
799
|
}
|
|
802
800
|
async getUserActions(dto, user) {
|
|
803
|
-
(0,helpers/* .validateCompanyAccess */.u)(this.config, dto.companyId, user);
|
|
804
801
|
const actions = await this.permissionService.getUserActions(dto.userId, dto.companyId, dto.branchId);
|
|
805
802
|
return {
|
|
806
803
|
success: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/nestjs-iam",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.2",
|
|
4
4
|
"description": "Identity and Access Management (IAM) module for NestJS applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./fesm/index.js",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"express": "^5.0.0"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@flusys/nestjs-core": "8.0.
|
|
87
|
-
"@flusys/nestjs-shared": "8.0.
|
|
86
|
+
"@flusys/nestjs-core": "8.0.2",
|
|
87
|
+
"@flusys/nestjs-shared": "8.0.2"
|
|
88
88
|
}
|
|
89
89
|
}
|