-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New way to update ObjectACL or Header or Meta data #1010
Conversation
… StorageClassHeader Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM would you mind adding a test as well ?
Yes I will add a test and why not an example |
Need an example in examples folder ? |
api-compose-object_test.go
Outdated
|
||
for k := range r { | ||
|
||
println(k) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦆
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If you Put an object with nothing (no acl, meta...) and you want to update with ObjectACL it's not possible. And you don't want to use bucket policies to make it alternatively
this is an example to update a canned acl:
this source code copy object on itself and can update ACL, userMetaData or Header