Skip to content

Commit

Permalink
#Fix: Google Storage Private ACL Options (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggallotti authored Jun 28, 2021
1 parent eae485c commit 344ed73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public String upload(String localFile, String externalFileName, boolean isPrivat
}

private List<ObjectAccessControl> getACLOptions(boolean isPrivate) {
if (isPrivate)
if (!isPrivate)
return Arrays.asList(new ObjectAccessControl().setEntity("allUsers").setRole("READER"));
else
return new ArrayList<ObjectAccessControl>();
Expand Down

0 comments on commit 344ed73

Please sign in to comment.