Skip to content

Commit

Permalink
fix: [Process Space Managers] members of managing space don't have th…
Browse files Browse the repository at this point in the history
…e 3 dots menu displayed - EXO-74880 . (#403)

Before this change, when set spaceX as processA manager space and userX member of spaceX access to process App and list porcessest, userX doesn't have the 3 dots menu displayed on.
To resolve this problem, add isCanEdit and isCanDelete permission to all spaceX members and add to the check for who the 3 dots button is displayed if the user can edit it then he has permission to display the button. After this change, the 3 dots menu of processA is displayed for any spaceX member.
  • Loading branch information
akhanfir authored and exo-swf committed Oct 24, 2024
1 parent 9e364eb commit 7610305
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ public static ProcessPermission getACL(WorkFlowEntity workFlowEntity, List<Strin
for (String manager : workFlowEntity.getManager()) {
if (member.contains(manager)) {
permission.setCanAddRequest(true);
permission.setCanDelete(true);
permission.setCanEdit(true);
break;
}
}
Expand Down

0 comments on commit 7610305

Please sign in to comment.