googleapis/storage-testbench

PredefinedACL replaces existing ACL in object patch/update

cojenco opened this issue · 0 comments

Honor predefinedACL in gRPC.UpdateObject, object.update and object.patch testbench operations

According to the docs, by applying a predefinedACL to an existing object, you completely replace the existing object ACL with the predefinedACL.

Testing with the live server (JSON), if I patch an object while setting a predefinedACL in the params, it replaces the existing object ACL with only the owner and predefined acl entity remaining.