jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-1042: Remove unneeded ACL swizzling (#895)
Date Sat, 19 Dec 2015 07:08:57 GMT
> @@ -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
Mime
View raw message