Skip to content

Commit 6582433

Browse files
hakermiJihed525
authored andcommitted
fix: Selected group in who can make a request isn't maintained after save - EXO-83200 (#464)
the selected group in who can make a request isn't maintained after save (cherry picked from commit b7c6634)
1 parent 063f3e7 commit 6582433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processes-services/src/main/java/org/exoplatform/processes/Utils/EntityMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static List<CreatorIdentityEntity> fromGroupToIdentity(Set<String> managers) {
7878
identityEntities.add(new CreatorIdentityEntity(identityEntity));
7979
} else {
8080
try {
81-
Group group = manager.contains("/platform/") ? groupHandler.findGroupById(manager) : groupHandler.findGroupById("/platform/" + manager);
81+
Group group = groupHandler.findGroupById(manager);
8282
ProfileEntity profile = new ProfileEntity(null, group.getLabel());
8383
IdentityEntity identityEntity = new IdentityEntity("group:" + group.getGroupName(), group.getId(), "group", profile);
8484
identityEntities.add(new CreatorIdentityEntity(identityEntity));

0 commit comments

Comments
 (0)