@tomei/sso 0.31.3 → 0.31.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ export declare class Group extends ObjectBase {
|
|
14
14
|
InheritParentPrivilegeYN: string;
|
15
15
|
InheritParentSystemAccessYN: string;
|
16
16
|
Status: string;
|
17
|
+
ParentGroup?: any;
|
17
18
|
private _CreatedById;
|
18
19
|
private _CreatedAt;
|
19
20
|
private _UpdatedById;
|
@@ -32,4 +33,16 @@ export declare class Group extends ObjectBase {
|
|
32
33
|
Groups: Group[];
|
33
34
|
}>;
|
34
35
|
static create(loginUser: LoginUser, dbTransaction: any, group: Group): Promise<Group>;
|
36
|
+
protected static checkDuplicateGroupCode(dbTransaction: any, GroupCode: any): Promise<void>;
|
37
|
+
update(loginUser: LoginUser, dbTransaction: any, group: {
|
38
|
+
GroupCode: string;
|
39
|
+
NewGroupCode?: string;
|
40
|
+
Name?: string;
|
41
|
+
Description?: string;
|
42
|
+
Type?: GroupTypeEnum;
|
43
|
+
ParentGroupCode?: string;
|
44
|
+
InheritParentPrivilegeYN?: string;
|
45
|
+
InheritParentSystemAccessYN?: string;
|
46
|
+
Status?: string;
|
47
|
+
}): Promise<Group>;
|
35
48
|
}
|
@@ -181,6 +181,112 @@ class Group extends general_1.ObjectBase {
|
|
181
181
|
}
|
182
182
|
});
|
183
183
|
}
|
184
|
+
static checkDuplicateGroupCode(dbTransaction, GroupCode) {
|
185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
186
|
+
const isGroupCodeExist = yield Group._Repo.findOne({
|
187
|
+
where: { GroupCode },
|
188
|
+
transaction: dbTransaction,
|
189
|
+
});
|
190
|
+
if (isGroupCodeExist) {
|
191
|
+
throw new general_1.ClassError('Group', 'GroupErrMsg07', 'GroupCode already exists.');
|
192
|
+
}
|
193
|
+
});
|
194
|
+
}
|
195
|
+
update(loginUser, dbTransaction, group) {
|
196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
197
|
+
const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
|
198
|
+
const isPrivileged = yield loginUser.checkPrivileges(systemCode, 'GROUP_UPDATE');
|
199
|
+
if (!isPrivileged) {
|
200
|
+
throw new general_1.ClassError('Group', 'GroupErrMsg06', 'You do not have the privilege to update Group');
|
201
|
+
}
|
202
|
+
try {
|
203
|
+
const currentGroup = yield Group.init(dbTransaction, group.GroupCode);
|
204
|
+
if (group.NewGroupCode) {
|
205
|
+
yield Group.checkDuplicateGroupCode(dbTransaction, group.NewGroupCode);
|
206
|
+
}
|
207
|
+
if (group.ParentGroupCode &&
|
208
|
+
currentGroup.ParentGroupCode !== group.ParentGroupCode) {
|
209
|
+
const parentGroup = yield Group.init(dbTransaction, group.ParentGroupCode);
|
210
|
+
if (!parentGroup) {
|
211
|
+
throw new general_1.ClassError('Group', 'GroupErrMsg08', 'Parent Group Code not found');
|
212
|
+
}
|
213
|
+
}
|
214
|
+
const entityValueBefore = {
|
215
|
+
GroupCode: currentGroup.GroupCode,
|
216
|
+
Name: currentGroup.Name,
|
217
|
+
Type: currentGroup.Type,
|
218
|
+
Description: currentGroup.Description,
|
219
|
+
ParentGroupCode: currentGroup.ParentGroupCode,
|
220
|
+
InheritParentPrivilegeYN: currentGroup.InheritParentPrivilegeYN,
|
221
|
+
InheritParentSystemAccessYN: currentGroup.InheritParentSystemAccessYN,
|
222
|
+
Status: currentGroup.Status,
|
223
|
+
CreatedById: currentGroup._CreatedById,
|
224
|
+
UpdatedById: currentGroup._UpdatedById,
|
225
|
+
CreatedAt: currentGroup._CreatedAt,
|
226
|
+
UpdatedAt: currentGroup._UpdatedAt,
|
227
|
+
};
|
228
|
+
currentGroup.GroupCode = (group === null || group === void 0 ? void 0 : group.NewGroupCode) || currentGroup.GroupCode;
|
229
|
+
currentGroup.Name = (group === null || group === void 0 ? void 0 : group.Name) || currentGroup.Name;
|
230
|
+
currentGroup.Type = (group === null || group === void 0 ? void 0 : group.Type) || currentGroup.Type;
|
231
|
+
currentGroup.Description = (group === null || group === void 0 ? void 0 : group.Description) || currentGroup.Description;
|
232
|
+
currentGroup.ParentGroupCode =
|
233
|
+
(group === null || group === void 0 ? void 0 : group.ParentGroupCode) || currentGroup.ParentGroupCode;
|
234
|
+
currentGroup.InheritParentPrivilegeYN =
|
235
|
+
(group === null || group === void 0 ? void 0 : group.InheritParentPrivilegeYN) ||
|
236
|
+
currentGroup.InheritParentPrivilegeYN;
|
237
|
+
currentGroup.InheritParentSystemAccessYN =
|
238
|
+
(group === null || group === void 0 ? void 0 : group.InheritParentSystemAccessYN) ||
|
239
|
+
currentGroup.InheritParentSystemAccessYN;
|
240
|
+
currentGroup.Status = (group === null || group === void 0 ? void 0 : group.Status) || currentGroup.Status;
|
241
|
+
currentGroup._UpdatedById = loginUser.UserId;
|
242
|
+
currentGroup._UpdatedAt = new Date();
|
243
|
+
yield Group._Repo.update({
|
244
|
+
GroupCode: currentGroup.GroupCode,
|
245
|
+
Name: currentGroup.Name,
|
246
|
+
Type: currentGroup.Type,
|
247
|
+
Description: currentGroup.Description,
|
248
|
+
ParentGroupCode: currentGroup.ParentGroupCode,
|
249
|
+
InheritParentPrivilegeYN: currentGroup.InheritParentPrivilegeYN,
|
250
|
+
InheritParentSystemAccessYN: currentGroup.InheritParentSystemAccessYN,
|
251
|
+
Status: currentGroup.Status,
|
252
|
+
UpdatedById: currentGroup._UpdatedById,
|
253
|
+
UpdatedAt: currentGroup._UpdatedAt,
|
254
|
+
}, {
|
255
|
+
where: {
|
256
|
+
GroupCode: group.GroupCode,
|
257
|
+
},
|
258
|
+
transaction: dbTransaction,
|
259
|
+
});
|
260
|
+
const entityValueAfter = {
|
261
|
+
GroupCode: currentGroup.GroupCode,
|
262
|
+
Name: currentGroup.Name,
|
263
|
+
Type: currentGroup.Type,
|
264
|
+
Description: currentGroup.Description,
|
265
|
+
ParentGroupCode: currentGroup.ParentGroupCode,
|
266
|
+
InheritParentPrivilegeYN: currentGroup.InheritParentPrivilegeYN,
|
267
|
+
InheritParentSystemAccessYN: currentGroup.InheritParentSystemAccessYN,
|
268
|
+
Status: currentGroup.Status,
|
269
|
+
CreatedById: currentGroup._CreatedById,
|
270
|
+
UpdatedById: currentGroup._UpdatedById,
|
271
|
+
CreatedAt: currentGroup._CreatedAt,
|
272
|
+
UpdatedAt: currentGroup._UpdatedAt,
|
273
|
+
};
|
274
|
+
const activity = new activity_history_1.Activity();
|
275
|
+
activity.ActivityId = activity.createId();
|
276
|
+
activity.Action = activity_history_1.ActionEnum.UPDATE;
|
277
|
+
activity.Description = `Update Group ${group.Type}`;
|
278
|
+
activity.EntityType = 'Group';
|
279
|
+
activity.EntityId = group.GroupCode;
|
280
|
+
activity.EntityValueBefore = JSON.stringify(entityValueBefore);
|
281
|
+
activity.EntityValueAfter = JSON.stringify(entityValueAfter);
|
282
|
+
yield activity.create(loginUser.ObjectId, dbTransaction);
|
283
|
+
return currentGroup;
|
284
|
+
}
|
285
|
+
catch (error) {
|
286
|
+
throw error;
|
287
|
+
}
|
288
|
+
});
|
289
|
+
}
|
184
290
|
}
|
185
291
|
exports.Group = Group;
|
186
292
|
Group._Repo = new group_repository_1.GroupRepository();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../../../src/components/group/group.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,yDAAqD;AAKrD,0CAAkD;AAClD,yCAA+B;AAC/B,8DAA+D;AAE/D,MAAa,KAAM,SAAQ,oBAAU;
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../../../src/components/group/group.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,yDAAqD;AAKrD,0CAAkD;AAClD,yCAA+B;AAC/B,8DAA+D;AAE/D,MAAa,KAAM,SAAQ,oBAAU;IAoBnC,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,SAAS,CAAC,KAAa;QACzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAA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