@tomei/sso 0.38.2 → 0.38.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/components/group/group.js +2 -1
- package/dist/src/components/group/group.js.map +1 -1
- package/dist/src/components/group-privilege/group-privilege.repository.d.ts +1 -1
- package/dist/src/components/group-privilege/group-privilege.repository.js +2 -2
- package/dist/src/components/group-privilege/group-privilege.repository.js.map +1 -1
- package/dist/src/models/group-object-privilege.entity.js +1 -1
- package/dist/src/models/group-privilege.entity.js +1 -1
- package/dist/src/models/user-object-privilege.entity.js +1 -1
- package/dist/src/models/user-privilege.entity.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/group/group.ts +2 -1
- package/src/components/group-privilege/group-privilege.repository.ts +2 -2
- package/src/models/group-object-privilege.entity.ts +1 -1
- package/src/models/group-privilege.entity.ts +1 -1
- package/src/models/user-object-privilege.entity.ts +1 -1
- package/src/models/user-privilege.entity.ts +1 -1
package/package.json
CHANGED
@@ -486,7 +486,7 @@ export class Group extends TreeNodeBase<Group> {
|
|
486
486
|
ParentGroupCode: currentGroup.ParentGroupCode,
|
487
487
|
InheritParentPrivilegeYN: currentGroup.InheritParentPrivilegeYN,
|
488
488
|
InheritParentSystemAccessYN: currentGroup.InheritParentSystemAccessYN,
|
489
|
-
Path:
|
489
|
+
Path: currentGroup.Path,
|
490
490
|
Status: currentGroup.Status,
|
491
491
|
CreatedById: currentGroup._CreatedById,
|
492
492
|
UpdatedById: currentGroup._UpdatedById,
|
@@ -576,6 +576,7 @@ export class Group extends TreeNodeBase<Group> {
|
|
576
576
|
InheritParentPrivilegeYN: currentGroup.InheritParentPrivilegeYN,
|
577
577
|
InheritParentSystemAccessYN: currentGroup.InheritParentSystemAccessYN,
|
578
578
|
Status: currentGroup.Status,
|
579
|
+
Path: currentGroup._Path,
|
579
580
|
CreatedById: currentGroup._CreatedById,
|
580
581
|
UpdatedById: currentGroup._UpdatedById,
|
581
582
|
CreatedAt: currentGroup._CreatedAt,
|
@@ -12,13 +12,13 @@ export class GroupPrivilegeRepository
|
|
12
12
|
|
13
13
|
async delete(
|
14
14
|
GroupCode: string,
|
15
|
-
|
15
|
+
SystemPrivilegeId: string,
|
16
16
|
SystemCode: string,
|
17
17
|
dbTransaction?: any,
|
18
18
|
) {
|
19
19
|
try {
|
20
20
|
const data = await GroupPrivilegeModel.findOne({
|
21
|
-
where: { GroupCode,
|
21
|
+
where: { GroupCode, SystemPrivilegeId },
|
22
22
|
include: [
|
23
23
|
{
|
24
24
|
model: SystemPrivilegeModel,
|