Skip to content

Commit

Permalink
Fix ACL filter for user removal
Browse files Browse the repository at this point in the history
  • Loading branch information
spiegela committed Dec 30, 2015
1 parent b6d9270 commit 16a2bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/emc/ecs/serviceBroker/ECSService.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void removeUserFromBucket(String id, String username)
List<BucketUserAcl> newUserAcl = acl.getAcl()
.getUserAccessList()
.stream()
.filter(a -> a.getUser().equals(prefix(username)))
.filter(a ->! a.getUser().equals(prefix(username)))
.collect(Collectors.toList());
acl.getAcl().setUserAccessList(newUserAcl);
BucketAclAction.update(connection, prefix(id), acl);
Expand Down

0 comments on commit 16a2bc6

Please sign in to comment.