@ -82,6 +82,8 @@ func (api objectAPIHandlers) GetBucketACLHandler(w http.ResponseWriter, r *http.
acl := & accessControlPolicy { }
acl := & accessControlPolicy { }
acl . AccessControlList . Grants = append ( acl . AccessControlList . Grants , grant {
acl . AccessControlList . Grants = append ( acl . AccessControlList . Grants , grant {
Grantee : grantee {
Grantee : grantee {
XMLNS : "http://www.w3.org/2001/XMLSchema-instance" ,
XMLXSI : "CanonicalUser" ,
Type : "CanonicalUser" ,
Type : "CanonicalUser" ,
} ,
} ,
Permission : "FULL_CONTROL" ,
Permission : "FULL_CONTROL" ,
@ -128,6 +130,8 @@ func (api objectAPIHandlers) GetObjectACLHandler(w http.ResponseWriter, r *http.
acl := & accessControlPolicy { }
acl := & accessControlPolicy { }
acl . AccessControlList . Grants = append ( acl . AccessControlList . Grants , grant {
acl . AccessControlList . Grants = append ( acl . AccessControlList . Grants , grant {
Grantee : grantee {
Grantee : grantee {
XMLNS : "http://www.w3.org/2001/XMLSchema-instance" ,
XMLXSI : "CanonicalUser" ,
Type : "CanonicalUser" ,
Type : "CanonicalUser" ,
} ,
} ,
Permission : "FULL_CONTROL" ,
Permission : "FULL_CONTROL" ,