@tomei/sso 0.33.7 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.commitlintrc.json +22 -22
- package/.eslintrc +16 -16
- package/.eslintrc.js +35 -35
- package/.gitlab-ci.yml +16 -16
- package/.husky/commit-msg +15 -15
- package/.husky/pre-commit +7 -7
- package/.prettierrc +4 -4
- package/Jenkinsfile +57 -57
- package/README.md +23 -23
- package/__tests__/unit/components/group/group.spec.ts +79 -79
- package/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.ts +88 -88
- package/__tests__/unit/components/group-privilege/group-privilege.spec.ts +68 -68
- package/__tests__/unit/components/group-reporting-user/group-reporting-user.spec.ts +66 -66
- package/__tests__/unit/components/group-system-access/group-system-access.spec.ts +83 -83
- package/__tests__/unit/components/login-user/l.spec.ts +746 -746
- package/__tests__/unit/components/login-user/login.spec.ts +1064 -1064
- package/__tests__/unit/components/password-hash/password-hash.service.spec.ts +31 -31
- package/__tests__/unit/components/system/system.spec.ts +254 -254
- package/__tests__/unit/components/system-privilege/system-privilege.spec.ts +83 -83
- package/__tests__/unit/components/user-group/user-group.spec.ts +86 -86
- package/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.ts +78 -78
- package/__tests__/unit/components/user-privilege/user-privilege.spec.ts +72 -72
- package/__tests__/unit/components/user-system-access/user-system-access.spec.ts +89 -89
- package/__tests__/unit/redis-client/redis.service.spec.ts +23 -23
- package/__tests__/unit/session/session.service.spec.ts +47 -47
- package/__tests__/unit/system-privilege/system-privilage.spec.ts +91 -91
- package/coverage/clover.xml +1452 -1452
- package/coverage/coverage-final.json +47 -47
- package/coverage/lcov-report/base.css +224 -224
- package/coverage/lcov-report/block-navigation.js +87 -87
- package/coverage/lcov-report/components/group/group.repository.ts.html +117 -117
- package/coverage/lcov-report/components/group/group.ts.html +327 -327
- package/coverage/lcov-report/components/group/index.html +130 -130
- package/coverage/lcov-report/components/group-object-privilege/group-object-privilege.repository.ts.html +117 -117
- package/coverage/lcov-report/components/group-object-privilege/group-object-privilege.ts.html +321 -321
- package/coverage/lcov-report/components/group-object-privilege/index.html +130 -130
- package/coverage/lcov-report/components/group-privilege/group-privilege.repository.ts.html +117 -117
- package/coverage/lcov-report/components/group-privilege/group-privilege.ts.html +303 -303
- package/coverage/lcov-report/components/group-privilege/index.html +130 -130
- package/coverage/lcov-report/components/group-reporting-user/group-reporting-user.repository.ts.html +117 -117
- package/coverage/lcov-report/components/group-reporting-user/group-reporting-user.ts.html +327 -327
- package/coverage/lcov-report/components/group-reporting-user/index.html +130 -130
- package/coverage/lcov-report/components/group-system-access/group-system-access.repository.ts.html +117 -117
- package/coverage/lcov-report/components/group-system-access/group-system-access.ts.html +309 -309
- package/coverage/lcov-report/components/group-system-access/index.html +130 -130
- package/coverage/lcov-report/components/login-history/index.html +115 -115
- package/coverage/lcov-report/components/login-history/login-history.repository.ts.html +117 -117
- package/coverage/lcov-report/components/login-user/index.html +130 -130
- package/coverage/lcov-report/components/login-user/login-user.ts.html +5007 -5007
- package/coverage/lcov-report/components/login-user/user.repository.ts.html +117 -117
- package/coverage/lcov-report/components/password-hash/index.html +115 -115
- package/coverage/lcov-report/components/password-hash/password-hash.service.ts.html +126 -126
- package/coverage/lcov-report/components/system/index.html +130 -130
- package/coverage/lcov-report/components/system/system.repository.ts.html +117 -117
- package/coverage/lcov-report/components/system/system.ts.html +909 -909
- package/coverage/lcov-report/components/system-privilege/index.html +130 -130
- package/coverage/lcov-report/components/system-privilege/system-privilege.repository.ts.html +120 -120
- package/coverage/lcov-report/components/system-privilege/system-privilege.ts.html +390 -390
- package/coverage/lcov-report/components/user-group/index.html +130 -130
- package/coverage/lcov-report/components/user-group/user-group.repository.ts.html +117 -117
- package/coverage/lcov-report/components/user-group/user-group.ts.html +354 -354
- package/coverage/lcov-report/components/user-object-privilege/index.html +130 -130
- package/coverage/lcov-report/components/user-object-privilege/user-object-privilege.repository.ts.html +117 -117
- package/coverage/lcov-report/components/user-object-privilege/user-object-privilege.ts.html +312 -312
- package/coverage/lcov-report/components/user-privilege/index.html +130 -130
- package/coverage/lcov-report/components/user-privilege/user-privilege.repository.ts.html +117 -117
- package/coverage/lcov-report/components/user-privilege/user-privilege.ts.html +306 -306
- package/coverage/lcov-report/components/user-system-access/index.html +130 -130
- package/coverage/lcov-report/components/user-system-access/user-system-access.repository.ts.html +117 -117
- package/coverage/lcov-report/components/user-system-access/user-system-access.ts.html +312 -312
- package/coverage/lcov-report/enum/group-type.enum.ts.html +108 -108
- package/coverage/lcov-report/enum/index.html +160 -160
- package/coverage/lcov-report/enum/index.ts.html +93 -93
- package/coverage/lcov-report/enum/user-status.enum.ts.html +105 -105
- package/coverage/lcov-report/enum/yn.enum.ts.html +96 -96
- package/coverage/lcov-report/index.html +370 -370
- package/coverage/lcov-report/models/group-object-privilege.entity.ts.html +333 -333
- package/coverage/lcov-report/models/group-privilege.entity.ts.html +315 -315
- package/coverage/lcov-report/models/group-reporting-user.entity.ts.html +339 -339
- package/coverage/lcov-report/models/group-system-access.entity.ts.html +324 -324
- package/coverage/lcov-report/models/group.entity.ts.html +435 -435
- package/coverage/lcov-report/models/index.html +310 -310
- package/coverage/lcov-report/models/login-history.entity.ts.html +252 -252
- package/coverage/lcov-report/models/staff.entity.ts.html +411 -411
- package/coverage/lcov-report/models/system-privilege.entity.ts.html +354 -354
- package/coverage/lcov-report/models/system.entity.ts.html +423 -423
- package/coverage/lcov-report/models/user-group.entity.ts.html +354 -354
- package/coverage/lcov-report/models/user-object-privilege.entity.ts.html +330 -330
- package/coverage/lcov-report/models/user-privilege.entity.ts.html +315 -315
- package/coverage/lcov-report/models/user-system-access.entity.ts.html +315 -315
- package/coverage/lcov-report/models/user.entity.ts.html +522 -522
- package/coverage/lcov-report/prettify.css +1 -1
- package/coverage/lcov-report/prettify.js +2 -2
- package/coverage/lcov-report/redis-client/index.html +115 -115
- package/coverage/lcov-report/redis-client/redis.service.ts.html +240 -240
- package/coverage/lcov-report/session/index.html +115 -115
- package/coverage/lcov-report/session/session.service.ts.html +246 -246
- package/coverage/lcov-report/sorter.js +196 -196
- package/coverage/lcov.info +2490 -2490
- package/coverage/test-report.xml +128 -128
- package/create-sso-user.sql +39 -39
- package/dist/__tests__/unit/components/group-privilege/group-privilege.test.d.ts +1 -0
- package/dist/__tests__/unit/components/group-privilege/group-privilege.test.js +71 -0
- package/dist/__tests__/unit/components/group-privilege/group-privilege.test.js.map +1 -0
- package/dist/__tests__/unit/components/login-user/login-user.spec.d.ts +0 -0
- package/dist/__tests__/unit/components/login-user/login-user.spec.js +6 -0
- package/dist/__tests__/unit/components/login-user/login-user.spec.js.map +1 -0
- package/dist/src/components/group/group.d.ts +27 -0
- package/dist/src/components/group/group.js +438 -4
- package/dist/src/components/group/group.js.map +1 -1
- package/dist/src/components/group-object-privilege/group-object-privilege.d.ts +3 -0
- package/dist/src/components/group-object-privilege/group-object-privilege.js +108 -0
- package/dist/src/components/group-object-privilege/group-object-privilege.js.map +1 -1
- package/dist/src/components/group-object-privilege/group-object-privilege.repository.d.ts +1 -0
- package/dist/src/components/group-object-privilege/group-object-privilege.repository.js +22 -0
- package/dist/src/components/group-object-privilege/group-object-privilege.repository.js.map +1 -1
- package/dist/src/components/group-privilege/group-privilege.d.ts +2 -0
- package/dist/src/components/group-privilege/group-privilege.js +10 -0
- package/dist/src/components/group-privilege/group-privilege.js.map +1 -1
- package/dist/src/components/group-privilege/group-privilege.repository.d.ts +1 -0
- package/dist/src/components/group-privilege/group-privilege.repository.js +22 -0
- package/dist/src/components/group-privilege/group-privilege.repository.js.map +1 -1
- package/dist/src/components/login-user/login-user.d.ts +1 -1
- package/dist/src/components/system-privilege/system-privilege.d.ts +7 -0
- package/dist/src/components/system-privilege/system-privilege.js +54 -1
- package/dist/src/components/system-privilege/system-privilege.js.map +1 -1
- package/dist/src/interfaces/group-object-privilege.interface.d.ts +1 -1
- package/dist/src/interfaces/group-privilege.interface.d.ts +1 -1
- package/dist/src/interfaces/system-privilege-search.interface.d.ts +5 -0
- package/dist/src/interfaces/system-privilege-search.interface.js +3 -0
- package/dist/src/interfaces/system-privilege-search.interface.js.map +1 -0
- package/dist/src/models/group-object-privilege.entity.js +1 -0
- package/dist/src/models/group-object-privilege.entity.js.map +1 -1
- package/dist/src/models/group-privilege.entity.js +1 -0
- package/dist/src/models/group-privilege.entity.js.map +1 -1
- package/dist/src/models/group-reporting-user.entity.js +1 -0
- package/dist/src/models/group-reporting-user.entity.js.map +1 -1
- package/dist/src/models/user-object-privilege.entity.js +1 -0
- package/dist/src/models/user-object-privilege.entity.js.map +1 -1
- package/dist/src/models/user-privilege.entity.js +1 -0
- package/dist/src/models/user-privilege.entity.js.map +1 -1
- package/dist/src/models/user-system-access.entity.js +1 -0
- package/dist/src/models/user-system-access.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/jest.config.js +14 -14
- package/migrations/20240314080602-create-user-table.js +108 -108
- package/migrations/20240314080603-create-user-group-table.js +85 -85
- package/migrations/20240314080604-create-user-user-group-table.js +55 -55
- package/migrations/20240314080605-create-login-history-table.js +53 -53
- package/migrations/20240527064925-create-system-table.js +78 -78
- package/migrations/20240527064926-create-system-privilege-table.js +67 -67
- package/migrations/20240527065342-create-group-table.js +89 -89
- package/migrations/20240527065633-create-group-reporting-user-table.js +76 -76
- package/migrations/20240528011551-create-group-system-access-table.js +72 -72
- package/migrations/20240528023018-user-system-access-table.js +75 -75
- package/migrations/20240528032229-user-privilege-table.js +75 -75
- package/migrations/20240528063003-create-group-privilege-table.js +75 -75
- package/migrations/20240528063051-create-group-object-privilege-table.js +84 -84
- package/migrations/20240528063107-create-user-object-privilege-table.js +83 -83
- package/package.json +89 -89
- package/sampledotenv +7 -7
- package/sonar-project.properties +22 -22
- package/src/components/group/group.ts +742 -4
- package/src/components/group-object-privilege/group-object-privilege.repository.ts +14 -0
- package/src/components/group-object-privilege/group-object-privilege.ts +196 -0
- package/src/components/group-privilege/group-privilege.repository.ts +11 -0
- package/src/components/group-privilege/group-privilege.ts +11 -0
- package/src/components/system-privilege/system-privilege.ts +89 -2
- package/src/interfaces/group-object-privilege.interface.ts +1 -1
- package/src/interfaces/group-privilege.interface.ts +1 -1
- package/src/interfaces/system-privilege-search.interface.ts +5 -0
- package/src/models/group-object-privilege.entity.ts +1 -0
- package/src/models/group-privilege.entity.ts +1 -0
- package/src/models/group-reporting-user.entity.ts +1 -0
- package/src/models/user-object-privilege.entity.ts +1 -0
- package/src/models/user-privilege.entity.ts +1 -0
- package/src/models/user-system-access.entity.ts +1 -0
- package/tsconfig.build.json +5 -5
- package/tsconfig.json +22 -22
@@ -12,6 +12,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GroupObjectPrivilege = void 0;
|
13
13
|
const general_1 = require("@tomei/general");
|
14
14
|
const group_object_privilege_repository_1 = require("./group-object-privilege.repository");
|
15
|
+
const object_status_enum_1 = require("../../enum/object-status.enum");
|
16
|
+
const config_1 = require("@tomei/config");
|
17
|
+
const activity_history_1 = require("@tomei/activity-history");
|
15
18
|
class GroupObjectPrivilege extends general_1.ObjectBase {
|
16
19
|
get CreatedAt() {
|
17
20
|
return this._CreatedAt;
|
@@ -64,6 +67,111 @@ class GroupObjectPrivilege extends general_1.ObjectBase {
|
|
64
67
|
}
|
65
68
|
});
|
66
69
|
}
|
70
|
+
static create(loginUser, dbTransaction, groupObjectPrivilege) {
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
72
|
+
try {
|
73
|
+
const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
|
74
|
+
const isPrivileged = yield loginUser.checkPrivileges(systemCode, 'GROUP_OBJECT_PRIVILEGE_CREATE');
|
75
|
+
if (!isPrivileged) {
|
76
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupErrMsg01', 'You do not have the privilege to create Group Object Privilege');
|
77
|
+
}
|
78
|
+
if (!groupObjectPrivilege.GroupCode) {
|
79
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupObjectPrivilegeErrMsg01', 'GroupCode is missing.');
|
80
|
+
}
|
81
|
+
if (!groupObjectPrivilege.PrivilegeCode) {
|
82
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupObjectPrivilegeErrMsg02', 'PrivilegeCode is missing.');
|
83
|
+
}
|
84
|
+
if (!groupObjectPrivilege.ObjectId) {
|
85
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupObjectPrivilegeErrMsg03', 'ObjectId is missing.');
|
86
|
+
}
|
87
|
+
if (!groupObjectPrivilege.ObjectType) {
|
88
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupObjectPrivilegeErrMsg04', 'ObjectType is missing.');
|
89
|
+
}
|
90
|
+
const existingGroupObjectPrivilege = yield GroupObjectPrivilege._Repository.findOne({
|
91
|
+
where: {
|
92
|
+
GroupCode: groupObjectPrivilege.GroupCode,
|
93
|
+
PrivilegeCode: groupObjectPrivilege.PrivilegeCode,
|
94
|
+
ObjectId: groupObjectPrivilege.ObjectId,
|
95
|
+
ObjectType: groupObjectPrivilege.ObjectType,
|
96
|
+
},
|
97
|
+
transaction: dbTransaction,
|
98
|
+
});
|
99
|
+
if (existingGroupObjectPrivilege) {
|
100
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupObjectPrivilegeErrMsg05', 'Duplicate GroupObjectPrivilege found.');
|
101
|
+
}
|
102
|
+
const objectAttr = {
|
103
|
+
GroupCode: groupObjectPrivilege.GroupCode,
|
104
|
+
PrivilegeCode: groupObjectPrivilege.PrivilegeCode,
|
105
|
+
ObjectId: groupObjectPrivilege.ObjectId,
|
106
|
+
ObjectType: groupObjectPrivilege.ObjectType,
|
107
|
+
Status: object_status_enum_1.ObjectStatus.ACTIVE,
|
108
|
+
CreatedById: loginUser.UserId,
|
109
|
+
CreatedAt: new Date(),
|
110
|
+
UpdatedById: loginUser.UserId,
|
111
|
+
UpdatedAt: new Date(),
|
112
|
+
};
|
113
|
+
const newGroupObjectPrivilege = new GroupObjectPrivilege(objectAttr);
|
114
|
+
const createdObject = yield GroupObjectPrivilege._Repository.create(newGroupObjectPrivilege, {
|
115
|
+
transaction: dbTransaction,
|
116
|
+
});
|
117
|
+
newGroupObjectPrivilege.GroupObjectPrivilegeId =
|
118
|
+
createdObject.GroupObjectPrivilegeId;
|
119
|
+
const EntityValueBefore = {};
|
120
|
+
const EntityValueAfter = objectAttr;
|
121
|
+
const activity = new activity_history_1.Activity();
|
122
|
+
activity.createId();
|
123
|
+
activity.Action = activity_history_1.ActionEnum.ADD;
|
124
|
+
activity.Description = `Create GroupObjectPrivilege for (${newGroupObjectPrivilege.GroupCode})`;
|
125
|
+
activity.EntityType = 'GroupObjectPrivilege';
|
126
|
+
activity.EntityId =
|
127
|
+
newGroupObjectPrivilege.GroupObjectPrivilegeId.toString();
|
128
|
+
activity.EntityValueBefore = JSON.stringify(EntityValueBefore);
|
129
|
+
activity.EntityValueAfter = JSON.stringify(EntityValueAfter);
|
130
|
+
yield activity.create(dbTransaction, loginUser.UserId);
|
131
|
+
return newGroupObjectPrivilege;
|
132
|
+
}
|
133
|
+
catch (error) {
|
134
|
+
throw error;
|
135
|
+
}
|
136
|
+
});
|
137
|
+
}
|
138
|
+
delete(loginUser, dbTransaction) {
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
140
|
+
try {
|
141
|
+
const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
|
142
|
+
const isPrivileged = yield loginUser.checkPrivileges(systemCode, 'GROUP_OBJECT_PRIVILEGE_DELETE');
|
143
|
+
if (!isPrivileged) {
|
144
|
+
throw new general_1.ClassError('GroupObjectPrivilege', 'GroupErrMsg01', 'You do not have the privilege to delete Group Object Privilege');
|
145
|
+
}
|
146
|
+
yield GroupObjectPrivilege._Repository.delete(this.GroupObjectPrivilegeId, {
|
147
|
+
transaction: dbTransaction,
|
148
|
+
});
|
149
|
+
const EntityValueBefore = {
|
150
|
+
GroupCode: this.GroupCode,
|
151
|
+
PrivilegeCode: this.PrivilegeCode,
|
152
|
+
ObjectId: this.ObjectId,
|
153
|
+
ObjectType: this.ObjectType,
|
154
|
+
Status: this.Status,
|
155
|
+
CreatedById: this.CreatedById,
|
156
|
+
UpdatedById: this.UpdatedById,
|
157
|
+
};
|
158
|
+
const EntityValueAfter = {};
|
159
|
+
const activity = new activity_history_1.Activity();
|
160
|
+
activity.createId();
|
161
|
+
activity.Action = activity_history_1.ActionEnum.DELETE;
|
162
|
+
activity.Description = `Delete GroupObjectPrivilege ${this.GroupObjectPrivilegeId}`;
|
163
|
+
activity.EntityType = 'GroupObjectPrivilege';
|
164
|
+
activity.EntityId = this.GroupObjectPrivilegeId.toString();
|
165
|
+
activity.EntityValueBefore = JSON.stringify(EntityValueBefore);
|
166
|
+
activity.EntityValueAfter = JSON.stringify(EntityValueAfter);
|
167
|
+
yield activity.create(dbTransaction, loginUser.UserId);
|
168
|
+
return this;
|
169
|
+
}
|
170
|
+
catch (error) {
|
171
|
+
throw error;
|
172
|
+
}
|
173
|
+
});
|
174
|
+
}
|
67
175
|
}
|
68
176
|
exports.GroupObjectPrivilege = GroupObjectPrivilege;
|
69
177
|
GroupObjectPrivilege._Repository = new group_object_privilege_repository_1.GroupObjectPrivilegeRepository();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-object-privilege.js","sourceRoot":"","sources":["../../../../src/components/group-object-privilege/group-object-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,2FAAqF;
|
1
|
+
{"version":3,"file":"group-object-privilege.js","sourceRoot":"","sources":["../../../../src/components/group-object-privilege/group-object-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,2FAAqF;AAErF,sEAA6D;AAE7D,0CAAkD;AAClD,8DAA+D;AAE/D,MAAa,oBAAqB,SAAQ,oBAAU;IAclD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IA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BAC9B,CAAC;gBAGF,MAAM,gBAAgB,GAAG,EAAE,CAAC;gBAG5B,MAAM,QAAQ,GAAG,IAAI,2BAAQ,EAAE,CAAC;gBAChC,QAAQ,CAAC,QAAQ,EAAE,CAAC;gBACpB,QAAQ,CAAC,MAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;gBACpC,QAAQ,CAAC,WAAW,GAAG,+BAA+B,IAAI,CAAC,sBAAsB,EAAE,CAAC;gBACpF,QAAQ,CAAC,UAAU,GAAG,sBAAsB,CAAC;gBAC7C,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC;gBAC3D,QAAQ,CAAC,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;gBAC/D,QAAQ,CAAC,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;gBAG7D,MAAM,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;gBAGvD,OAAO,IAAI,CAAC;aACb;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AA5QH,oDA6QC;AA/OgB,gCAAW,GAAG,IAAI,kEAA8B,EAAE,CAAC"}
|
@@ -2,4 +2,5 @@ import GroupObjectPrivilegeModel from '../../models/group-object-privilege.entit
|
|
2
2
|
import { RepositoryBase, IRepositoryBase } from '@tomei/general';
|
3
3
|
export declare class GroupObjectPrivilegeRepository extends RepositoryBase<GroupObjectPrivilegeModel> implements IRepositoryBase<GroupObjectPrivilegeModel> {
|
4
4
|
constructor();
|
5
|
+
delete(where: any, transaction?: any): Promise<number | undefined>;
|
5
6
|
}
|
@@ -1,4 +1,13 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
12
|
exports.GroupObjectPrivilegeRepository = void 0;
|
4
13
|
const group_object_privilege_entity_1 = require("../../models/group-object-privilege.entity");
|
@@ -7,6 +16,19 @@ class GroupObjectPrivilegeRepository extends general_1.RepositoryBase {
|
|
7
16
|
constructor() {
|
8
17
|
super(group_object_privilege_entity_1.default);
|
9
18
|
}
|
19
|
+
delete(where, transaction) {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
try {
|
22
|
+
return yield group_object_privilege_entity_1.default.destroy({
|
23
|
+
where,
|
24
|
+
transaction,
|
25
|
+
});
|
26
|
+
}
|
27
|
+
catch (error) {
|
28
|
+
throw error;
|
29
|
+
}
|
30
|
+
});
|
31
|
+
}
|
10
32
|
}
|
11
33
|
exports.GroupObjectPrivilegeRepository = GroupObjectPrivilegeRepository;
|
12
34
|
//# sourceMappingURL=group-object-privilege.repository.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-object-privilege.repository.js","sourceRoot":"","sources":["../../../../src/components/group-object-privilege/group-object-privilege.repository.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"group-object-privilege.repository.js","sourceRoot":"","sources":["../../../../src/components/group-object-privilege/group-object-privilege.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8FAAmF;AACnF,4CAAiE;AAEjE,MAAa,8BACX,SAAQ,wBAAyC;IAGjD;QACE,KAAK,CAAC,uCAAyB,CAAC,CAAC;IACnC,CAAC;IAEY,MAAM,CACjB,KAAU,EACV,WAAiB;;YAEjB,IAAI;gBACF,OAAO,MAAM,uCAAyB,CAAC,OAAO,CAAC;oBAC7C,KAAK;oBACL,WAAW;iBACZ,CAAC,CAAC;aACJ;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;CACF;AArBD,wEAqBC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ObjectBase } from '@tomei/general';
|
2
|
+
import { IGroupPrivilegeAttr } from '../../interfaces/group-privilege.interface';
|
2
3
|
export declare class GroupPrivilege extends ObjectBase {
|
3
4
|
TableName: string;
|
4
5
|
ObjectName: string;
|
@@ -18,5 +19,6 @@ export declare class GroupPrivilege extends ObjectBase {
|
|
18
19
|
get UpdatedById(): number;
|
19
20
|
private static _Repository;
|
20
21
|
private constructor();
|
22
|
+
setAttributes(GroupPrivilegeAttr: IGroupPrivilegeAttr): void;
|
21
23
|
static init(dbTransaction?: any, GroupPrivilegeId?: number): Promise<GroupPrivilege>;
|
22
24
|
}
|
@@ -40,6 +40,16 @@ class GroupPrivilege extends general_1.ObjectBase {
|
|
40
40
|
this._UpdatedById = GroupPrivilegeAttr.UpdatedById;
|
41
41
|
}
|
42
42
|
}
|
43
|
+
setAttributes(GroupPrivilegeAttr) {
|
44
|
+
this.GroupPrivilegeId = GroupPrivilegeAttr.GroupPrivilegeId;
|
45
|
+
this.GroupCode = GroupPrivilegeAttr.GroupCode;
|
46
|
+
this.PrivilegeCode = GroupPrivilegeAttr.PrivilegeCode;
|
47
|
+
this.Status = GroupPrivilegeAttr.Status;
|
48
|
+
this._CreatedAt = GroupPrivilegeAttr.CreatedAt;
|
49
|
+
this._UpdatedAt = GroupPrivilegeAttr.UpdatedAt;
|
50
|
+
this._CreatedById = GroupPrivilegeAttr.CreatedById;
|
51
|
+
this._UpdatedById = GroupPrivilegeAttr.UpdatedById;
|
52
|
+
}
|
43
53
|
static init(dbTransaction, GroupPrivilegeId) {
|
44
54
|
return __awaiter(this, void 0, void 0, function* () {
|
45
55
|
try {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-privilege.js","sourceRoot":"","sources":["../../../../src/components/group-privilege/group-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,6EAAwE;AAGxE,MAAa,cAAe,SAAQ,oBAAU;IAc5C,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAID,YAAoB,kBAAwC;QAC1D,KAAK,EAAE,CAAC;QAhCV,cAAS,GAAG,oBAAoB,CAAC;QAGjC,eAAU,GAAG,gBAAgB,CAAC;QA8B5B,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,gBAAgB,CAAC;YAC5D,IAAI,CAAC,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC9C,IAAI,CAAC,aAAa,GAAG,kBAAkB,CAAC,aAAa,CAAC;YACtD,IAAI,CAAC,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC;YACxC,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC/C,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC/C,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC,WAAW,CAAC;YACnD,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC,WAAW,CAAC;SACpD;IACH,CAAC;IAEM,MAAM,CAAO,IAAI,CAAC,aAAmB,EAAE,gBAAyB;;YACrE,IAAI;gBACF,IAAI,gBAAgB,EAAE;oBACpB,MAAM,kBAAkB,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;wBACxD,KAAK,EAAE,EAAE,gBAAgB,EAAE;wBAC3B,WAAW,EAAE,aAAa;qBAC3B,CAAC,CAAC;oBACH,IAAI,kBAAkB,EAAE;wBACtB,OAAO,IAAI,cAAc,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;qBACpE;yBAAM;wBACL,MAAM,IAAI,oBAAU,CAClB,gBAAgB,EAChB,wBAAwB,EACxB,0BAA0B,CAC3B,CAAC;qBACH;iBACF;gBACD,OAAO,IAAI,cAAc,EAAE,CAAC;aAC7B;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;
|
1
|
+
{"version":3,"file":"group-privilege.js","sourceRoot":"","sources":["../../../../src/components/group-privilege/group-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,6EAAwE;AAGxE,MAAa,cAAe,SAAQ,oBAAU;IAc5C,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAID,YAAoB,kBAAwC;QAC1D,KAAK,EAAE,CAAC;QAhCV,cAAS,GAAG,oBAAoB,CAAC;QAGjC,eAAU,GAAG,gBAAgB,CAAC;QA8B5B,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,gBAAgB,CAAC;YAC5D,IAAI,CAAC,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC9C,IAAI,CAAC,aAAa,GAAG,kBAAkB,CAAC,aAAa,CAAC;YACtD,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ChB,wBAAwB,EACxB,0BAA0B,CAC3B,CAAC;qBACH;iBACF;gBACD,OAAO,IAAI,cAAc,EAAE,CAAC;aAC7B;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AA9EH,wCA+EC;AAjDgB,0BAAW,GAAG,IAAI,qDAAwB,EAAE,CAAC"}
|
@@ -2,4 +2,5 @@ import GroupPrivilegeModel from '../../models/group-privilege.entity';
|
|
2
2
|
import { RepositoryBase, IRepositoryBase } from '@tomei/general';
|
3
3
|
export declare class GroupPrivilegeRepository extends RepositoryBase<GroupPrivilegeModel> implements IRepositoryBase<GroupPrivilegeModel> {
|
4
4
|
constructor();
|
5
|
+
delete(GroupCode: string, PrivilegeCode: string, dbTransaction?: any): Promise<number>;
|
5
6
|
}
|
@@ -1,4 +1,13 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
12
|
exports.GroupPrivilegeRepository = void 0;
|
4
13
|
const group_privilege_entity_1 = require("../../models/group-privilege.entity");
|
@@ -7,6 +16,19 @@ class GroupPrivilegeRepository extends general_1.RepositoryBase {
|
|
7
16
|
constructor() {
|
8
17
|
super(group_privilege_entity_1.default);
|
9
18
|
}
|
19
|
+
delete(GroupCode, PrivilegeCode, dbTransaction) {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
try {
|
22
|
+
return yield group_privilege_entity_1.default.destroy({
|
23
|
+
where: { GroupCode, PrivilegeCode },
|
24
|
+
transaction: dbTransaction,
|
25
|
+
});
|
26
|
+
}
|
27
|
+
catch (error) {
|
28
|
+
throw error;
|
29
|
+
}
|
30
|
+
});
|
31
|
+
}
|
10
32
|
}
|
11
33
|
exports.GroupPrivilegeRepository = GroupPrivilegeRepository;
|
12
34
|
//# sourceMappingURL=group-privilege.repository.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-privilege.repository.js","sourceRoot":"","sources":["../../../../src/components/group-privilege/group-privilege.repository.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"group-privilege.repository.js","sourceRoot":"","sources":["../../../../src/components/group-privilege/group-privilege.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gFAAsE;AACtE,4CAAiE;AAEjE,MAAa,wBACX,SAAQ,wBAAmC;IAG3C;QACE,KAAK,CAAC,gCAAmB,CAAC,CAAC;IAC7B,CAAC;IAEK,MAAM,CAAC,SAAiB,EAAE,aAAqB,EAAE,aAAmB;;YACxE,IAAI;gBACF,OAAO,MAAM,gCAAmB,CAAC,OAAO,CAAC;oBACvC,KAAK,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE;oBACnC,WAAW,EAAE,aAAa;iBAC3B,CAAC,CAAC;aACJ;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;CACF;AAlBD,4DAkBC"}
|
@@ -111,7 +111,7 @@ export declare class LoginUser extends LoginUserBase {
|
|
111
111
|
private static combineSystemAccess;
|
112
112
|
static getSystems(loginUser: LoginUser, dbTransaction: any): Promise<any[]>;
|
113
113
|
private static check2FA;
|
114
|
-
static setup2FA(userId: number, dbTransaction: any): Promise<
|
114
|
+
static setup2FA(userId: number, dbTransaction: any): Promise<any>;
|
115
115
|
verify2FASetup(userId: number, mfaToken: string, dbTransaction: any): Promise<string | false>;
|
116
116
|
verify2FACode(userId: number, mfaToken: string, dbTransaction: any): Promise<string | false>;
|
117
117
|
addUserGroup(GroupCode: string, loginUser: LoginUser, dbTransaction: any): Promise<void>;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { ObjectBase } from '@tomei/general';
|
2
|
+
import { ISystemPrivilegeAttr } from '../../interfaces/system-privilege.interface';
|
2
3
|
import { LoginUser } from '../login-user/login-user';
|
4
|
+
import { ISystemPrivilegeSearch } from '../../interfaces/system-privilege-search.interface';
|
3
5
|
export declare class SystemPrivilege extends ObjectBase {
|
4
6
|
ObjectType: string;
|
5
7
|
TableName: string;
|
@@ -21,6 +23,11 @@ export declare class SystemPrivilege extends ObjectBase {
|
|
21
23
|
private static _Repository;
|
22
24
|
private static _SystemRepository;
|
23
25
|
private constructor();
|
26
|
+
setAttributes(systemPrivilegeAttr: ISystemPrivilegeAttr): void;
|
24
27
|
static init(dbTransaction: any, PrivilegeCode?: string): Promise<SystemPrivilege>;
|
25
28
|
static create(loginUser: LoginUser, dbTransaction: any, systemPrivilege: SystemPrivilege): Promise<SystemPrivilege>;
|
29
|
+
static findAll(loginUser: LoginUser, dbTransaction: any, page?: number, row?: number, search?: ISystemPrivilegeSearch): Promise<{
|
30
|
+
count: number;
|
31
|
+
SystemPrivileges: SystemPrivilege[];
|
32
|
+
}>;
|
26
33
|
}
|
@@ -16,6 +16,7 @@ const system_privilege_repository_1 = require("./system-privilege.repository");
|
|
16
16
|
const config_1 = require("@tomei/config");
|
17
17
|
const system_1 = require("../system/system");
|
18
18
|
const activity_history_1 = require("@tomei/activity-history");
|
19
|
+
const sequelize_1 = require("sequelize");
|
19
20
|
class SystemPrivilege extends general_1.ObjectBase {
|
20
21
|
get PrivilegeCode() {
|
21
22
|
return this.ObjectId;
|
@@ -50,6 +51,16 @@ class SystemPrivilege extends general_1.ObjectBase {
|
|
50
51
|
this._UpdatedAt = systemPrivilegeAttr.UpdatedAt;
|
51
52
|
}
|
52
53
|
}
|
54
|
+
setAttributes(systemPrivilegeAttr) {
|
55
|
+
this.ObjectId = systemPrivilegeAttr.PrivilegeCode;
|
56
|
+
this.SystemCode = systemPrivilegeAttr.SystemCode;
|
57
|
+
this.Description = systemPrivilegeAttr.Description;
|
58
|
+
this.Status = systemPrivilegeAttr.Status;
|
59
|
+
this._CreatedAt = systemPrivilegeAttr.CreatedAt;
|
60
|
+
this._UpdatedAt = systemPrivilegeAttr.UpdatedAt;
|
61
|
+
this._CreatedById = systemPrivilegeAttr.CreatedById;
|
62
|
+
this._UpdatedById = systemPrivilegeAttr.UpdatedById;
|
63
|
+
}
|
53
64
|
static init(dbTransaction, PrivilegeCode) {
|
54
65
|
return __awaiter(this, void 0, void 0, function* () {
|
55
66
|
try {
|
@@ -85,7 +96,7 @@ class SystemPrivilege extends general_1.ObjectBase {
|
|
85
96
|
const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
|
86
97
|
const isPrivileged = yield loginUser.checkPrivileges(systemCode, 'PRIVILEGE_CREATE');
|
87
98
|
if (!isPrivileged) {
|
88
|
-
throw new
|
99
|
+
throw new general_1.ClassError('SystemPrivilege', 'SystemPrivilegeErrMsg01', 'You do not have permission to create system privileges');
|
89
100
|
}
|
90
101
|
if (!systemPrivilege.SystemCode) {
|
91
102
|
throw new general_1.ClassError('SystemPrivilege', 'SystemPrivilegeErrMsg02', 'System Code is required');
|
@@ -137,6 +148,48 @@ class SystemPrivilege extends general_1.ObjectBase {
|
|
137
148
|
}
|
138
149
|
});
|
139
150
|
}
|
151
|
+
static findAll(loginUser, dbTransaction, page, row, search) {
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
153
|
+
try {
|
154
|
+
const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
|
155
|
+
const isPrivileged = yield loginUser.checkPrivileges(systemCode, 'PRIVILEGE_LIST');
|
156
|
+
if (!isPrivileged) {
|
157
|
+
throw new general_1.ClassError('SystemPrivilege', 'SystemPrivilegeErrMsg01', 'You do not have permission to list system privileges');
|
158
|
+
}
|
159
|
+
const options = {
|
160
|
+
order: [['createdAt', 'DESC']],
|
161
|
+
transaction: dbTransaction,
|
162
|
+
};
|
163
|
+
if (page && row) {
|
164
|
+
const offset = row * (page - 1);
|
165
|
+
const limit = row;
|
166
|
+
options.offset = offset;
|
167
|
+
options.limit = limit;
|
168
|
+
}
|
169
|
+
if (search) {
|
170
|
+
const queryObj = {};
|
171
|
+
Object.entries(search).forEach(([key, value]) => {
|
172
|
+
queryObj[key] = {
|
173
|
+
[sequelize_1.Op.substring]: value,
|
174
|
+
};
|
175
|
+
});
|
176
|
+
options.where = queryObj;
|
177
|
+
}
|
178
|
+
const result = yield SystemPrivilege._Repository.findAllWithPagination(options);
|
179
|
+
const systemPrivileges = [];
|
180
|
+
for (const systemPrivilegeAttr of result.rows) {
|
181
|
+
systemPrivileges.push(new SystemPrivilege(systemPrivilegeAttr.get({ plain: true })));
|
182
|
+
}
|
183
|
+
return {
|
184
|
+
count: result.count,
|
185
|
+
SystemPrivileges: systemPrivileges,
|
186
|
+
};
|
187
|
+
}
|
188
|
+
catch (error) {
|
189
|
+
throw error;
|
190
|
+
}
|
191
|
+
});
|
192
|
+
}
|
140
193
|
}
|
141
194
|
exports.SystemPrivilege = SystemPrivilege;
|
142
195
|
SystemPrivilege._Repository = new system_privilege_repository_1.SystemPrivilegeRepository();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"system-privilege.js","sourceRoot":"","sources":["../../../../src/components/system-privilege/system-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mEAA+D;AAC/D,+EAA0E;AAG1E,0CAAkD;AAClD,6CAA0C;AAC1C,8DAA+D;AAE/D,MAAa,eAAgB,SAAQ,oBAAU;IAa7C,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,aAAa,CAAC,KAAa;QAC7B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAA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;wBAC7D,eAAe,CAAC,UAAU,GAAG,mBAAmB,CAAC,UAAU,CAAC;wBAC5D,eAAe,CAAC,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC;wBAC9D,eAAe,CAAC,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC;wBACpD,eAAe,CAAC,YAAY,GAAG,mBAAmB,CAAC,WAAW,CAAC;wBAC/D,eAAe,CAAC,UAAU,GAAG,mBAAmB,CAAC,SAAS,CAAC;wBAC3D,eAAe,CAAC,YAAY,GAAG,mBAAmB,CAAC,WAAW,CAAC;wBAC/D,eAAe,CAAC,UAAU,GAAG,mBAAmB,CAAC,SAAS,CAAC;qBAC5D;yBAAM;wBACL,MAAM,IAAI,oBAAU,CAClB,iBAAiB,EACjB,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC;qBACH;iBACF;gBACD,OAAO,eAAe,CAAC;aACxB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;IAED,MAAM,CAAO,MAAM,CACjB,SAAoB,EACpB,aAAkB,EAClB,eAAgC;;YAEhC,IAAI;gBAEF,MAAM,UAAU,GACd,0BAAiB,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC;gBAC3D,MAAM,YAAY,GAAG,MAAM,SAAS,CAAC,eAAe,CAClD,UAAU,EACV,kBAAkB,CACnB,CAAC;gBACF,IAAI,CAAC,YAAY,EAAE;oBACjB,MAAM,IAAI,
|
1
|
+
{"version":3,"file":"system-privilege.js","sourceRoot":"","sources":["../../../../src/components/system-privilege/system-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mEAA+D;AAC/D,+EAA0E;AAG1E,0CAAkD;AAClD,6CAA0C;AAC1C,8DAA+D;AAE/D,yCAA+B;AAE/B,MAAa,eAAgB,SAAQ,oBAAU;IAa7C,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,aA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AAM,eAAe,CAAC,WAAW,CAAC,qBAAqB,CACpE,OAAO,CACR,CAAC;gBAIF,MAAM,gBAAgB,GAAsB,EAAE,CAAC;gBAC/C,KAAK,MAAM,mBAAmB,IAAI,MAAM,CAAC,IAAI,EAAE;oBAC7C,gBAAgB,CAAC,IAAI,CACnB,IAAI,eAAe,CAAC,mBAAmB,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAC9D,CAAC;iBACH;gBAED,OAAO;oBACL,KAAK,EAAE,MAAM,CAAC,KAAK;oBACnB,gBAAgB,EAAE,gBAAgB;iBACnC,CAAC;aACH;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AAvRH,0CAwRC;AAnPgB,2BAAW,GAAG,IAAI,uDAAyB,EAAE,CAAC;AAC9C,iCAAiB,GAAG,IAAI,oCAAgB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"system-privilege-search.interface.js","sourceRoot":"","sources":["../../../src/interfaces/system-privilege-search.interface.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AACxC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,4BAAK;
|
1
|
+
{"version":3,"file":"group-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AACxC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,4BAAK;CAqE3D,CAAA;AApEC;IAAC,IAAA,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AAEhB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;4DAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,sBAAU,CAAC;8BACrB,sBAAU;wDAAC;AAElB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;gEAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;gEAAC;AApED,yBAAyB;IAN7C,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,0BAA0B;QACrC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,yBAAyB,CAqE7C;kBArEoB,yBAAyB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AACxC,uEAA6D;AAQ9C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,4BAAK;
|
1
|
+
{"version":3,"file":"group-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AACxC,uEAA6D;AAQ9C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,4BAAK;CAyDrD,CAAA;AAxDC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;6DACuB;AAEzB;IAAC,IAAA,iCAAU,EAAC,GAAG,E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L,SAAS,EAAE,oBAAoB;QAC/B,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,mBAAmB,CAyDvC;kBAzDoB,mBAAmB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group-reporting-user.entity.js","sourceRoot":"","sources":["../../../src/models/group-reporting-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AAQzB,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,4BAAK;
|
1
|
+
{"version":3,"file":"group-reporting-user.entity.js","sourceRoot":"","sources":["../../../src/models/group-reporting-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AAQzB,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,4BAAK;CAkEzD,CAAA;AAjEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,aAAa,EAAE,IAAI;KACpB,CAAC;;qEAC2B;AAE7B;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,sBAAU,CAAC;IAC5B,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;KAC1B,CAAC;;0DACgB;AAElB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;uDACa;AAEf;IAAC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;qD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.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,4BAAK;
|
1
|
+
{"version":3,"file":"user-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/user-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,4BAAK;CAqE1D,CAAA;AApEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;mEACwB;AAE1B;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;wDACa;AAEf;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;IACtC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;+DACoB;AAEtB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,SAAS,EAAE,KAAK;KACjB,CAAC;;0DACe;AAEjB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,SAAS,EAAE,KAAK;KACjB,CAAC;;4DACiB;AAEnB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;wDACmB;AAErB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;6DACkB;AAEpB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;6DACkB;AAEpB;IAAC,gCAAS;8BACC,IAAI;2DAAC;AAEhB;IAAC,gCAAS;8BACC,IAAI;2DAAC;AAEhB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,QAAQ,CAAC;8BAC1B,qBAAI;sDAAC;AAEX;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;2DAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;+DAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;+DAAC;AApED,wBAAwB;IAN5C,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,yBAAyB;QACpC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,wBAAwB,CAqE5C;kBArEoB,wBAAwB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/user-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,uEAA6D;AAQ9C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAK;
|
1
|
+
{"version":3,"file":"user-privilege.entity.js","sourceRoot":"","sources":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X;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;qDAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;yDAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;yDAAC;AAzDD,kBAAkB;IANtC,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,mBAAmB;QAC9B,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,kBAAkB,CA0DtC;kBA1DoB,kBAAkB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-system-access.entity.js","sourceRoot":"","sources":["../../../src/models/user-system-access.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,mDAA0C;AAQ3B,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAK;
|
1
|
+
{"version":3,"file":"user-system-access.entity.js","sourceRoot":"","sources":["../../../src/models/user-system-access.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,mDAA0C;AAQ3B,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAK;CA0DvD,CAAA;AAzDC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;iEACyB;AAE3B;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,KAAK,EAAE,QAAQ;KA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