@tomei/sso 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.ts +4 -4
  2. package/__tests__/unit/components/group-privilege/group-privilege.spec.ts +3 -3
  3. package/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.ts +3 -3
  4. package/__tests__/unit/components/user-privilege/user-privilege.spec.ts +3 -3
  5. package/dist/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.js +4 -4
  6. package/dist/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.js.map +1 -1
  7. package/dist/__tests__/unit/components/group-privilege/group-privilege.spec.js +3 -3
  8. package/dist/__tests__/unit/components/group-privilege/group-privilege.spec.js.map +1 -1
  9. package/dist/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.js +3 -3
  10. package/dist/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.js.map +1 -1
  11. package/dist/__tests__/unit/components/user-privilege/user-privilege.spec.js +3 -3
  12. package/dist/__tests__/unit/components/user-privilege/user-privilege.spec.js.map +1 -1
  13. package/dist/src/components/group/group.d.ts +23 -12
  14. package/dist/src/components/group/group.js +188 -42
  15. package/dist/src/components/group/group.js.map +1 -1
  16. package/dist/src/components/group-object-privilege/group-object-privilege.d.ts +1 -1
  17. package/dist/src/components/group-object-privilege/group-object-privilege.js +7 -7
  18. package/dist/src/components/group-object-privilege/group-object-privilege.js.map +1 -1
  19. package/dist/src/components/group-privilege/group-privilege.d.ts +1 -1
  20. package/dist/src/components/group-privilege/group-privilege.js +2 -2
  21. package/dist/src/components/group-privilege/group-privilege.js.map +1 -1
  22. package/dist/src/components/group-privilege/group-privilege.repository.d.ts +1 -1
  23. package/dist/src/components/group-privilege/group-privilege.repository.js +11 -3
  24. package/dist/src/components/group-privilege/group-privilege.repository.js.map +1 -1
  25. package/dist/src/components/login-user/login-user.js.map +1 -1
  26. package/dist/src/components/login-user/user.js +2 -2
  27. package/dist/src/components/login-user/user.js.map +1 -1
  28. package/dist/src/components/system/system.js +1 -1
  29. package/dist/src/components/system/system.js.map +1 -1
  30. package/dist/src/components/system-privilege/system-privilege.d.ts +4 -3
  31. package/dist/src/components/system-privilege/system-privilege.js +18 -11
  32. package/dist/src/components/system-privilege/system-privilege.js.map +1 -1
  33. package/dist/src/components/user-group/user-group.js +2 -1
  34. package/dist/src/components/user-group/user-group.js.map +1 -1
  35. package/dist/src/components/user-object-privilege/user-object-privilege.d.ts +1 -1
  36. package/dist/src/components/user-object-privilege/user-object-privilege.js +1 -1
  37. package/dist/src/components/user-object-privilege/user-object-privilege.js.map +1 -1
  38. package/dist/src/components/user-privilege/user-privilege.d.ts +1 -1
  39. package/dist/src/components/user-privilege/user-privilege.js +1 -1
  40. package/dist/src/components/user-privilege/user-privilege.js.map +1 -1
  41. package/dist/src/interfaces/group-object-privilege.interface.d.ts +1 -1
  42. package/dist/src/interfaces/group-privilege.interface.d.ts +1 -1
  43. package/dist/src/interfaces/group.interface.d.ts +1 -0
  44. package/dist/src/interfaces/system-privilege.interface.d.ts +1 -0
  45. package/dist/src/interfaces/user-object-privilege.interface.d.ts +1 -1
  46. package/dist/src/interfaces/user-privilege.interface.d.ts +1 -1
  47. package/dist/src/models/group-object-privilege.entity.d.ts +1 -1
  48. package/dist/src/models/group-object-privilege.entity.js +1 -1
  49. package/dist/src/models/group-object-privilege.entity.js.map +1 -1
  50. package/dist/src/models/group-privilege.entity.d.ts +1 -1
  51. package/dist/src/models/group-privilege.entity.js +1 -1
  52. package/dist/src/models/group-privilege.entity.js.map +1 -1
  53. package/dist/src/models/group.entity.d.ts +1 -0
  54. package/dist/src/models/group.entity.js +7 -0
  55. package/dist/src/models/group.entity.js.map +1 -1
  56. package/dist/src/models/system-privilege.entity.d.ts +1 -0
  57. package/dist/src/models/system-privilege.entity.js +8 -0
  58. package/dist/src/models/system-privilege.entity.js.map +1 -1
  59. package/dist/src/models/user-object-privilege.entity.d.ts +1 -1
  60. package/dist/src/models/user-object-privilege.entity.js +1 -1
  61. package/dist/src/models/user-object-privilege.entity.js.map +1 -1
  62. package/dist/src/models/user-privilege.entity.d.ts +1 -1
  63. package/dist/src/models/user-privilege.entity.js +1 -1
  64. package/dist/src/models/user-privilege.entity.js.map +1 -1
  65. package/dist/tsconfig.tsbuildinfo +1 -1
  66. package/migrations/20240527064926-create-system-privilege-table.js +66 -62
  67. package/migrations/20240527065342-create-group-table.js +4 -0
  68. package/migrations/20240528032229-user-privilege-table.js +2 -2
  69. package/migrations/20240528063003-create-group-privilege-table.js +12 -2
  70. package/migrations/20240528063051-create-group-object-privilege-table.js +2 -2
  71. package/migrations/20240528063107-create-user-object-privilege-table.js +2 -2
  72. package/package.json +8 -8
  73. package/src/components/group/group.ts +225 -60
  74. package/src/components/group-object-privilege/group-object-privilege.ts +9 -9
  75. package/src/components/group-privilege/group-privilege.repository.ts +16 -3
  76. package/src/components/group-privilege/group-privilege.ts +3 -3
  77. package/src/components/login-user/login-user.ts +0 -58
  78. package/src/components/login-user/user.ts +2 -4
  79. package/src/components/system/system.ts +1 -1
  80. package/src/components/system-privilege/system-privilege.ts +20 -12
  81. package/src/components/user-group/user-group.ts +2 -1
  82. package/src/components/user-object-privilege/user-object-privilege.ts +2 -2
  83. package/src/components/user-privilege/user-privilege.ts +2 -2
  84. package/src/interfaces/group-object-privilege.interface.ts +1 -1
  85. package/src/interfaces/group-privilege.interface.ts +1 -1
  86. package/src/interfaces/group.interface.ts +1 -0
  87. package/src/interfaces/system-privilege.interface.ts +1 -0
  88. package/src/interfaces/user-object-privilege.interface.ts +1 -1
  89. package/src/interfaces/user-privilege.interface.ts +1 -1
  90. package/src/models/group-object-privilege.entity.ts +1 -1
  91. package/src/models/group-privilege.entity.ts +1 -1
  92. package/src/models/group.entity.ts +6 -0
  93. package/src/models/system-privilege.entity.ts +7 -0
  94. package/src/models/user-object-privilege.entity.ts +1 -1
  95. package/src/models/user-privilege.entity.ts +1 -1
@@ -26,7 +26,7 @@ const group_privilege_entity_1 = require("../../models/group-privilege.entity");
26
26
  const group_object_privilege_repository_1 = require("../group-object-privilege/group-object-privilege.repository");
27
27
  const group_object_privilege_1 = require("../group-object-privilege/group-object-privilege");
28
28
  const group_privilege_1 = require("../group-privilege/group-privilege");
29
- class Group extends general_1.ObjectBase {
29
+ class Group extends general_1.TreeNodeBase {
30
30
  get GroupCode() {
31
31
  return this.ObjectId;
32
32
  }
@@ -48,6 +48,9 @@ class Group extends general_1.ObjectBase {
48
48
  constructor(groupAttr) {
49
49
  super();
50
50
  this.ObjectType = 'Group';
51
+ this._Path = '';
52
+ this.isChildrenLoaded = false;
53
+ this.isParentLoaded = false;
51
54
  if (groupAttr) {
52
55
  this.GroupCode = groupAttr.GroupCode;
53
56
  this.Name = groupAttr.Name;
@@ -57,6 +60,7 @@ class Group extends general_1.ObjectBase {
57
60
  this.InheritParentPrivilegeYN = groupAttr === null || groupAttr === void 0 ? void 0 : groupAttr.InheritParentPrivilegeYN;
58
61
  this.InheritParentSystemAccessYN = groupAttr === null || groupAttr === void 0 ? void 0 : groupAttr.InheritParentSystemAccessYN;
59
62
  this.Status = groupAttr === null || groupAttr === void 0 ? void 0 : groupAttr.Status;
63
+ this._Path = groupAttr === null || groupAttr === void 0 ? void 0 : groupAttr.Path;
60
64
  this._CreatedById = groupAttr.CreatedById;
61
65
  this._CreatedAt = groupAttr.CreatedAt;
62
66
  this._UpdatedById = groupAttr.UpdatedById;
@@ -85,6 +89,80 @@ class Group extends general_1.ObjectBase {
85
89
  }
86
90
  });
87
91
  }
92
+ loadChildren(dbTransaction) {
93
+ return __awaiter(this, void 0, void 0, function* () {
94
+ if (!this.GroupCode) {
95
+ throw Error('GroupCode is missing.');
96
+ }
97
+ const children = yield Group._Repo.findAll({
98
+ where: { ParentGroupCode: this.GroupCode },
99
+ order: [['CreatedAt', 'ASC']],
100
+ transaction: dbTransaction,
101
+ });
102
+ this.children = children.map((child) => {
103
+ return new Group(child.get({ plain: true }));
104
+ });
105
+ this.isChildrenLoaded = true;
106
+ });
107
+ }
108
+ loadParent(dbTransaction) {
109
+ return __awaiter(this, void 0, void 0, function* () {
110
+ if (!this.GroupCode) {
111
+ throw Error('GroupCode are missing.');
112
+ }
113
+ if (this.ParentGroupCode) {
114
+ if (this.ParentGroupCode !== this.GroupCode) {
115
+ const parent = yield Group._Repo.findByPk(this.ParentGroupCode, {
116
+ transaction: dbTransaction,
117
+ });
118
+ this.parent = new Group(parent.get({ plain: true }));
119
+ }
120
+ }
121
+ this.isParentLoaded = true;
122
+ });
123
+ }
124
+ isLeaf(dbTransaction) {
125
+ return __awaiter(this, void 0, void 0, function* () {
126
+ if (!this.isChildrenLoaded) {
127
+ yield this.loadChildren(dbTransaction);
128
+ }
129
+ return this.children.length === 0;
130
+ });
131
+ }
132
+ getPath(dbTransaction) {
133
+ return __awaiter(this, void 0, void 0, function* () {
134
+ if (!this.isParentLoaded) {
135
+ yield this.loadParent(dbTransaction);
136
+ }
137
+ if (this.parent) {
138
+ return (yield this.parent.getPath(dbTransaction)) + '/' + this.Name;
139
+ }
140
+ return this.GroupCode;
141
+ });
142
+ }
143
+ updatePath(dbTransaction) {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ const path = yield this.getPath(dbTransaction);
146
+ this._Path = path;
147
+ });
148
+ }
149
+ setParent(parent, dbTransaction) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ this.parent = parent;
152
+ yield this.updatePath(dbTransaction);
153
+ });
154
+ }
155
+ getPathDetail(dbTransaction) {
156
+ return __awaiter(this, void 0, void 0, function* () {
157
+ const path = this._Path.split('/');
158
+ const groups = [];
159
+ for (let i = 0; i < path.length; i++) {
160
+ const group = yield Group.init(dbTransaction, path[i]);
161
+ groups.push(group);
162
+ }
163
+ return groups;
164
+ });
165
+ }
88
166
  static findAll(page, row, dbTransaction, loginUser, search) {
89
167
  return __awaiter(this, void 0, void 0, function* () {
90
168
  const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
@@ -159,6 +237,7 @@ class Group extends general_1.ObjectBase {
159
237
  newGroup.Status = 'Active';
160
238
  newGroup._CreatedById = loginUser.UserId;
161
239
  newGroup._UpdatedById = loginUser.UserId;
240
+ newGroup._Path = yield newGroup.getPath(dbTransaction);
162
241
  const entityGroupAfter = {
163
242
  GroupCode: newGroup.ObjectId,
164
243
  Name: newGroup.Name,
@@ -179,7 +258,7 @@ class Group extends general_1.ObjectBase {
179
258
  const entityValueBefore = {};
180
259
  const activity = new activity_history_1.Activity();
181
260
  activity.ActivityId = activity.createId();
182
- activity.Action = activity_history_1.ActionEnum.ADD;
261
+ activity.Action = activity_history_1.ActionEnum.CREATE;
183
262
  activity.Description = 'Create Group';
184
263
  activity.EntityType = 'Group';
185
264
  activity.EntityId = newGroup.ObjectId;
@@ -204,6 +283,33 @@ class Group extends general_1.ObjectBase {
204
283
  }
205
284
  });
206
285
  }
286
+ updateChildrenPath(oldGroupCode, dbTransaction) {
287
+ return __awaiter(this, void 0, void 0, function* () {
288
+ try {
289
+ const isLeaf = yield this.isLeaf(dbTransaction);
290
+ if (isLeaf) {
291
+ return;
292
+ }
293
+ const childrens = yield Group._Repo.findAll({
294
+ where: {
295
+ Path: {
296
+ [sequelize_1.Op.like]: `${oldGroupCode}/%`,
297
+ },
298
+ },
299
+ transaction: dbTransaction,
300
+ });
301
+ childrens.forEach((children) => __awaiter(this, void 0, void 0, function* () {
302
+ const path = children.Path.split(`${oldGroupCode}/`);
303
+ const childPath = path[path.length - 1];
304
+ children.Path = `${this.Path}/${childPath}`;
305
+ yield children.update({ Path: path }, { transaction: dbTransaction });
306
+ }));
307
+ }
308
+ catch (error) {
309
+ throw error;
310
+ }
311
+ });
312
+ }
207
313
  update(loginUser, dbTransaction, group) {
208
314
  return __awaiter(this, void 0, void 0, function* () {
209
315
  const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
@@ -216,13 +322,6 @@ class Group extends general_1.ObjectBase {
216
322
  if (group.NewGroupCode) {
217
323
  yield Group.checkDuplicateGroupCode(dbTransaction, group.NewGroupCode);
218
324
  }
219
- if (group.ParentGroupCode &&
220
- currentGroup.ParentGroupCode !== group.ParentGroupCode) {
221
- const parentGroup = yield Group.init(dbTransaction, group.ParentGroupCode);
222
- if (!parentGroup) {
223
- throw new general_1.ClassError('Group', 'GroupErrMsg08', 'Parent Group Code not found');
224
- }
225
- }
226
325
  const entityValueBefore = {
227
326
  GroupCode: currentGroup.GroupCode,
228
327
  Name: currentGroup.Name,
@@ -231,13 +330,36 @@ class Group extends general_1.ObjectBase {
231
330
  ParentGroupCode: currentGroup.ParentGroupCode,
232
331
  InheritParentPrivilegeYN: currentGroup.InheritParentPrivilegeYN,
233
332
  InheritParentSystemAccessYN: currentGroup.InheritParentSystemAccessYN,
333
+ Path: this.Path,
234
334
  Status: currentGroup.Status,
235
335
  CreatedById: currentGroup._CreatedById,
236
336
  UpdatedById: currentGroup._UpdatedById,
237
337
  CreatedAt: currentGroup._CreatedAt,
238
338
  UpdatedAt: currentGroup._UpdatedAt,
239
339
  };
240
- currentGroup.GroupCode = (group === null || group === void 0 ? void 0 : group.NewGroupCode) || currentGroup.GroupCode;
340
+ let isPathChanged = false;
341
+ const oldGroupCode = currentGroup.GroupCode;
342
+ if (group.NewGroupCode) {
343
+ currentGroup.GroupCode = group.NewGroupCode;
344
+ isPathChanged = true;
345
+ }
346
+ if ((group.ParentGroupCode &&
347
+ currentGroup.ParentGroupCode !== group.ParentGroupCode) ||
348
+ (group.ParentGroupCode && !currentGroup.ParentGroupCode)) {
349
+ const parentGroup = yield Group.init(dbTransaction, group.ParentGroupCode);
350
+ if (!parentGroup) {
351
+ throw new general_1.ClassError('Group', 'GroupErrMsg08', 'Parent Group Code not found');
352
+ }
353
+ yield currentGroup.setParent(parentGroup);
354
+ isPathChanged = true;
355
+ }
356
+ else if (!group.ParentGroupCode && currentGroup.ParentGroupCode) {
357
+ yield currentGroup.setParent(null);
358
+ isPathChanged = true;
359
+ }
360
+ if (isPathChanged) {
361
+ yield this.updateChildrenPath(oldGroupCode, dbTransaction);
362
+ }
241
363
  currentGroup.Name = (group === null || group === void 0 ? void 0 : group.Name) || currentGroup.Name;
242
364
  currentGroup.Type = (group === null || group === void 0 ? void 0 : group.Type) || currentGroup.Type;
243
365
  currentGroup.Description = (group === null || group === void 0 ? void 0 : group.Description) || currentGroup.Description;
@@ -487,7 +609,7 @@ class Group extends general_1.ObjectBase {
487
609
  });
488
610
  const activity = new activity_history_1.Activity();
489
611
  activity.ActivityId = activity.createId();
490
- activity.Action = activity_history_1.ActionEnum.ADD;
612
+ activity.Action = activity_history_1.ActionEnum.CREATE;
491
613
  activity.Description = 'Create Group System Access';
492
614
  activity.EntityType = 'GroupSystemAccess';
493
615
  activity.EntityId = (_a = systemAccess.GroupSystemAccessId) === null || _a === void 0 ? void 0 : _a.toString();
@@ -612,6 +734,11 @@ class Group extends general_1.ObjectBase {
612
734
  },
613
735
  };
614
736
  }
737
+ if (search.PrivilegeCode) {
738
+ systemPrivilegeWhere = Object.assign(Object.assign({}, systemPrivilegeWhere), { PrivilegeCode: {
739
+ [sequelize_1.Op.substring]: search.PrivilegeCode,
740
+ } });
741
+ }
615
742
  }
616
743
  const group = yield Group._Repo.findOne({
617
744
  where: where,
@@ -636,13 +763,13 @@ class Group extends general_1.ObjectBase {
636
763
  const systemWhere = {};
637
764
  if (search) {
638
765
  Object.entries(search).forEach(([key, value]) => {
639
- if (key === 'SystemCode') {
640
- systemWhere[key] = {
766
+ if (key === 'Status') {
767
+ objectWhere[key] = {
641
768
  [sequelize_1.Op.substring]: value,
642
769
  };
643
770
  }
644
771
  else {
645
- objectWhere[key] = {
772
+ systemWhere[key] = {
646
773
  [sequelize_1.Op.substring]: value,
647
774
  };
648
775
  }
@@ -673,8 +800,8 @@ class Group extends general_1.ObjectBase {
673
800
  const inheritedPrivileges = yield Group.getInheritedSystemPrivileges(dbTransaction, group.ParentGroupCode, search);
674
801
  privileges = privileges.concat(inheritedPrivileges);
675
802
  }
676
- const uniquePrivileges = Array.from(new Set(privileges.map((a) => a.PrivilegeCode))).map((PrivilegeCode) => {
677
- return privileges.find((a) => a.PrivilegeCode === PrivilegeCode);
803
+ const uniquePrivileges = Array.from(new Set(privileges.map((a) => a.SystemPrivilegeId))).map((SystemPrivilegeId) => {
804
+ return privileges.find((a) => a.SystemPrivilegeId === SystemPrivilegeId);
678
805
  });
679
806
  return uniquePrivileges;
680
807
  }
@@ -703,7 +830,7 @@ class Group extends general_1.ObjectBase {
703
830
  }
704
831
  });
705
832
  }
706
- static assignGroupObjectPrivilege(loginUser, dbTransaction, GroupCode, GroupObjectPrivileges) {
833
+ static assignGroupObjectPrivilege(loginUser, dbTransaction, GroupCode, GroupObjectPrivileges, SystemCode) {
707
834
  return __awaiter(this, void 0, void 0, function* () {
708
835
  try {
709
836
  const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
@@ -718,21 +845,21 @@ class Group extends general_1.ObjectBase {
718
845
  count: 0,
719
846
  };
720
847
  if (group.InheritParentSystemAccessYN === 'Y' && group.ParentGroupCode) {
721
- parentGroupSystemAccesses = yield Group.getSystemAccesses(loginUser, dbTransaction, group.ParentGroupCode, 1, Number.MAX_SAFE_INTEGER, {});
848
+ parentGroupSystemAccesses = yield Group.getSystemAccesses(loginUser, dbTransaction, group.ParentGroupCode, 1, Number.MAX_SAFE_INTEGER, undefined);
722
849
  }
723
850
  for (const groupObjectPrivilege of GroupObjectPrivileges) {
724
- const systemPrivilege = yield system_privilege_1.SystemPrivilege.init(dbTransaction, groupObjectPrivilege.PrivilegeCode);
851
+ const systemPrivilege = yield system_privilege_1.SystemPrivilege.init(dbTransaction, groupObjectPrivilege.SystemPrivilegeId);
725
852
  const combinedSystemAccesses = Object.assign(Object.assign({}, groupSystemAccesses.rows), parentGroupSystemAccesses.rows);
726
853
  const systemAccess = combinedSystemAccesses.find((systemAccess) => systemAccess.SystemCode === systemPrivilege.SystemCode);
727
854
  if (!systemAccess) {
728
855
  throw new general_1.ClassError('Group', 'GroupErrMsg13', 'Failed to assign privilege ' +
729
- groupObjectPrivilege.PrivilegeCode +
856
+ groupObjectPrivilege.SystemPrivilegeId +
730
857
  ' due to non-existent system access.');
731
858
  }
732
859
  const groupObjectPrivilegeData = yield Group._GroupObjectPrivilegeRepo.findOne({
733
860
  where: {
734
861
  GroupCode,
735
- PrivilegeCode: groupObjectPrivilege.PrivilegeCode,
862
+ SystemPrivilegeId: groupObjectPrivilege.SystemPrivilegeId,
736
863
  ObjectId: groupObjectPrivilege.ObjectId,
737
864
  ObjectType: groupObjectPrivilege.ObjectType,
738
865
  },
@@ -767,7 +894,7 @@ class Group extends general_1.ObjectBase {
767
894
  const systemWhere = {};
768
895
  if (search) {
769
896
  Object.entries(search).forEach(([key, value]) => {
770
- if (key === 'SystemCode') {
897
+ if (key === 'SystemCode' || key === 'PrivilegeCode') {
771
898
  systemWhere[key] = {
772
899
  [sequelize_1.Op.substring]: value,
773
900
  };
@@ -795,8 +922,8 @@ class Group extends general_1.ObjectBase {
795
922
  systemPrivilege.setAttributes(groupObjectPrivilege.Privilege.get({ plain: true }));
796
923
  privileges.push(systemPrivilege);
797
924
  }
798
- const uniquePrivileges = Array.from(new Set(privileges.map((a) => a.PrivilegeCode))).map((PrivilegeCode) => {
799
- return privileges.find((a) => a.PrivilegeCode === PrivilegeCode);
925
+ const uniquePrivileges = Array.from(new Set(privileges.map((a) => a.SystemPrivilegeId))).map((SystemPrivilegeId) => {
926
+ return privileges.find((a) => a.SystemPrivilegeId === SystemPrivilegeId);
800
927
  });
801
928
  return uniquePrivileges;
802
929
  }
@@ -805,7 +932,7 @@ class Group extends general_1.ObjectBase {
805
932
  }
806
933
  });
807
934
  }
808
- static assignGroupPrivileges(loginUser, dbTransaction, GroupCode, PrivilegeCodes) {
935
+ static assignGroupPrivileges(loginUser, dbTransaction, GroupCode, SystemPrivilegeIds) {
809
936
  return __awaiter(this, void 0, void 0, function* () {
810
937
  try {
811
938
  const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
@@ -822,8 +949,8 @@ class Group extends general_1.ObjectBase {
822
949
  if (group.InheritParentSystemAccessYN === 'Y' && group.ParentGroupCode) {
823
950
  parentGroupSystemAccesses = yield Group.getSystemAccesses(loginUser, dbTransaction, group.ParentGroupCode, 1, Number.MAX_SAFE_INTEGER, {});
824
951
  }
825
- for (const PrivilegeCode of PrivilegeCodes) {
826
- const systemPrivilege = yield system_privilege_1.SystemPrivilege.init(dbTransaction, PrivilegeCode);
952
+ for (const SystemPrivilegeId of SystemPrivilegeIds) {
953
+ const systemPrivilege = yield system_privilege_1.SystemPrivilege.init(dbTransaction, SystemPrivilegeId);
827
954
  const combinedSystemAccesses = [
828
955
  ...groupSystemAccesses.rows,
829
956
  ...parentGroupSystemAccesses.rows,
@@ -831,14 +958,19 @@ class Group extends general_1.ObjectBase {
831
958
  const systemAccess = combinedSystemAccesses.find((systemAccess) => systemAccess.SystemCode === systemPrivilege.SystemCode);
832
959
  if (!systemAccess) {
833
960
  throw new general_1.ClassError('Group', 'GroupErrMsg13', 'Failed to assign privilege ' +
834
- PrivilegeCode +
961
+ SystemPrivilegeId +
835
962
  ' due to non-existent system access.');
836
963
  }
837
964
  const groupPrivilege = yield Group._GroupPrivilegeRepo.findOne({
838
965
  where: {
839
966
  GroupCode,
840
- PrivilegeCode,
967
+ SystemPrivilegeId,
841
968
  },
969
+ include: [
970
+ {
971
+ model: system_privilege_entity_1.default,
972
+ },
973
+ ],
842
974
  transaction: dbTransaction,
843
975
  });
844
976
  if (groupPrivilege && groupPrivilege.Status === 'Active') {
@@ -846,13 +978,13 @@ class Group extends general_1.ObjectBase {
846
978
  }
847
979
  let entityValueBefore = {};
848
980
  let entityValueAfter = {};
849
- let action = activity_history_1.ActionEnum.ADD;
981
+ let action = activity_history_1.ActionEnum.CREATE;
850
982
  let description = 'Create Group Privilege';
851
983
  let entityId = null;
852
984
  if (groupPrivilege && groupPrivilege.Status !== 'Active') {
853
985
  entityValueBefore = {
854
986
  GroupCode: groupPrivilege.GroupCode,
855
- PrivilegeCode: groupPrivilege.PrivilegeCode,
987
+ SystemPrivilegeId: groupPrivilege.SystemPrivilegeId,
856
988
  Status: groupPrivilege.Status,
857
989
  CreatedById: groupPrivilege.CreatedById,
858
990
  CreatedAt: groupPrivilege.CreatedAt,
@@ -864,16 +996,25 @@ class Group extends general_1.ObjectBase {
864
996
  UpdatedById: loginUser.UserId,
865
997
  UpdatedAt: new Date(),
866
998
  };
867
- yield Group._GroupPrivilegeRepo.update(updatedPayload, {
999
+ const data = yield Group._GroupPrivilegeRepo.findOne({
868
1000
  where: {
869
1001
  GroupCode,
870
- PrivilegeCode,
1002
+ SystemPrivilegeId,
871
1003
  },
1004
+ include: [
1005
+ {
1006
+ model: system_privilege_entity_1.default,
1007
+ },
1008
+ ],
872
1009
  transaction: dbTransaction,
873
1010
  });
1011
+ data.Status = 'Active';
1012
+ data.UpdatedById = updatedPayload.UpdatedById;
1013
+ data.UpdatedAt = updatedPayload.UpdatedAt;
1014
+ yield data.save({ transaction: dbTransaction });
874
1015
  entityValueAfter = {
875
1016
  GroupCode: groupPrivilege.GroupCode,
876
- PrivilegeCode: groupPrivilege.PrivilegeCode,
1017
+ SystemPrivilegeId: groupPrivilege.SystemPrivilegeId,
877
1018
  Status: updatedPayload.Status,
878
1019
  CreatedById: groupPrivilege.CreatedById,
879
1020
  CreatedAt: groupPrivilege.CreatedAt,
@@ -888,7 +1029,7 @@ class Group extends general_1.ObjectBase {
888
1029
  const newGroupPrivilege = yield group_privilege_1.GroupPrivilege.init(dbTransaction);
889
1030
  newGroupPrivilege.setAttributes({
890
1031
  GroupCode,
891
- PrivilegeCode,
1032
+ SystemPrivilegeId,
892
1033
  Status: 'Active',
893
1034
  CreatedById: loginUser.UserId,
894
1035
  CreatedAt: new Date(),
@@ -897,7 +1038,7 @@ class Group extends general_1.ObjectBase {
897
1038
  });
898
1039
  entityValueAfter = {
899
1040
  GroupCode: newGroupPrivilege.GroupCode,
900
- PrivilegeCode: newGroupPrivilege.PrivilegeCode,
1041
+ SystemPrivilegeId: newGroupPrivilege.SystemPrivilegeId,
901
1042
  Status: newGroupPrivilege.Status,
902
1043
  CreatedById: newGroupPrivilege.CreatedById,
903
1044
  CreatedAt: newGroupPrivilege.CreatedAt,
@@ -907,7 +1048,7 @@ class Group extends general_1.ObjectBase {
907
1048
  const groupPrivilege = yield Group._GroupPrivilegeRepo.create(entityValueAfter, {
908
1049
  transaction: dbTransaction,
909
1050
  });
910
- action = activity_history_1.ActionEnum.ADD;
1051
+ action = activity_history_1.ActionEnum.CREATE;
911
1052
  description = 'Create Group Privilege';
912
1053
  entityId = groupPrivilege.GroupPrivilegeId;
913
1054
  }
@@ -928,7 +1069,7 @@ class Group extends general_1.ObjectBase {
928
1069
  }
929
1070
  });
930
1071
  }
931
- static deleteGroupPrivilege(loginUser, dbTransaction, GroupCode, PrivilegeCodes) {
1072
+ static deleteGroupPrivilege(loginUser, dbTransaction, GroupCode, SystemPrivilegeIds) {
932
1073
  return __awaiter(this, void 0, void 0, function* () {
933
1074
  try {
934
1075
  const systemCode = config_1.ApplicationConfig.getComponentConfigValue('system-code');
@@ -936,12 +1077,17 @@ class Group extends general_1.ObjectBase {
936
1077
  if (!isPrivileged) {
937
1078
  throw new general_1.ClassError('Group', 'GroupErrMsg06', 'You do not have the privilege to delete group privileges');
938
1079
  }
939
- for (const PrivilegeCode of PrivilegeCodes) {
1080
+ for (const SystemPrivilegeId of SystemPrivilegeIds) {
940
1081
  const groupPrivilege = yield Group._GroupPrivilegeRepo.findOne({
941
1082
  where: {
942
1083
  GroupCode,
943
- PrivilegeCode,
1084
+ SystemPrivilegeId,
944
1085
  },
1086
+ include: [
1087
+ {
1088
+ model: system_privilege_entity_1.default,
1089
+ },
1090
+ ],
945
1091
  transaction: dbTransaction,
946
1092
  });
947
1093
  if (!groupPrivilege) {
@@ -949,14 +1095,14 @@ class Group extends general_1.ObjectBase {
949
1095
  }
950
1096
  const entityValueBefore = {
951
1097
  GroupCode: groupPrivilege.GroupCode,
952
- PrivilegeCode: groupPrivilege.PrivilegeCode,
1098
+ SystemPrivilegeId: groupPrivilege.SystemPrivilegeId,
953
1099
  Status: groupPrivilege.Status,
954
1100
  CreatedById: groupPrivilege.CreatedById,
955
1101
  CreatedAt: groupPrivilege.CreatedAt,
956
1102
  UpdatedById: groupPrivilege.UpdatedById,
957
1103
  UpdatedAt: groupPrivilege.UpdatedAt,
958
1104
  };
959
- yield Group._GroupPrivilegeRepo.delete(GroupCode, PrivilegeCode, dbTransaction);
1105
+ yield Group._GroupPrivilegeRepo.delete(GroupCode, SystemPrivilegeId, dbTransaction);
960
1106
  const activity = new activity_history_1.Activity();
961
1107
  activity.ActivityId = activity.createId();
962
1108
  activity.Action = activity_history_1.ActionEnum.DELETE;
@@ -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;AAC/D,0GAAoG;AACpG,8DAAqD;AACrD,gEAA2D;AAC3D,oEAAgE;AAChE,kFAAwE;AACxE,8FAAyF;AACzF,2EAAuE;AACvE,gFAAsE;AACtE,mHAA6G;AAC7G,6FAAwF;AACxF,wEAAoE;AAEpE,MAAa,KAAM,SAAQ,oBAAU;IAwBnC,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,SAAS,CAAC,KAAa;QACzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,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,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IA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Q,CAAC,UAAU,GAAG,QAAQ,CAAC,QAAQ,EAAE,CAAC;oBAC1C,QAAQ,CAAC,MAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;oBACpC,QAAQ,CAAC,WAAW,GAAG,wBAAwB,CAAC;oBAChD,QAAQ,CAAC,UAAU,GAAG,gBAAgB,CAAC;oBACvC,QAAQ,CAAC,QAAQ,GAAG,cAAc,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;oBAC/D,QAAQ,CAAC,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;oBAC/D,QAAQ,CAAC,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;oBAE/C,MAAM,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;iBAC1D;gBACD,OAAO,uBAAuB,CAAC;aAChC;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AArtDH,sBAstDC;AAhsDgB,WAAK,GAAG,IAAI,kCAAe,EAAE,CAAC;AAC9B,4BAAsB,GAAG,IAAI,4DAA2B,EAAE,CAAC;AAC3D,yBAAmB,GAAG,IAAI,qDAAwB,EAAE,CAAC;AACrD,+BAAyB,GACtC,IAAI,kEAA8B,EAAE,CAAC"}
@@ -7,7 +7,7 @@ export declare class GroupObjectPrivilege extends ObjectBase {
7
7
  ObjectName: string;
8
8
  GroupObjectPrivilegeId: number;
9
9
  GroupCode: string;
10
- PrivilegeCode: string;
10
+ SystemPrivilegeId: string;
11
11
  ObjectId: string;
12
12
  ObjectType: string;
13
13
  Status: ObjectStatus;