You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Andrew Gaul <no...@github.com> on 2015/12/19 08:08:57 UTC
Re: [jclouds] JCLOUDS-1042: Remove unneeded ACL swizzling (#895)
> @@ -273,13 +272,6 @@ public String putBlob(String container, Blob blob, PutOptions overrides) {
>
> // TODO: Make use of options overrides
> PutObjectOptions options = new PutObjectOptions();
> - try {
> - AccessControlList acl = bucketAcls.getUnchecked(container);
> - if (acl != null && acl.hasPermission(GroupGranteeURI.ALL_USERS, Permission.READ))
> - options.withAcl(CannedAccessPolicy.PUBLIC_READ);
> - } catch (CacheLoader.InvalidCacheLoadException e) {
> - // nulls not permitted from cache loader
> - }
This commit also makes the above MPU code consistent with the single-part code.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/895/files#r48089801