-
Notifications
You must be signed in to change notification settings - Fork 15
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
Disable ACL by default #1018
Disable ACL by default #1018
Conversation
api/handler/put.go
Outdated
@@ -168,6 +168,9 @@ const ( | |||
basicACLReadOnly = "public-read" | |||
basicACLPublic = "public-read-write" | |||
cannedACLAuthRead = "authenticated-read" | |||
|
|||
amzBucketOwnerField = "x-amz-object-ownership" |
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.
Can't this collide with some real header? I'd expect a bit more magic value here. Although if the rule is always the last one (after default policies) it can't change much.
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.
It would and there is no guarantee the rule is always be the last, renamed
7192f48
to
729dee0
Compare
Closes #1016. Signed-off-by: Evgenii Baidakov <[email protected]>
729dee0
to
a792f48
Compare
Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
Bucket owner already has full access to the object. We just add the support of the ACL. Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Roman Khimov <[email protected]>
It's much more useful this way especially if we have many requests with EACLs. ACL status can be deduced from EACL, so we don't need to cache it separately (at least for now, walking through the list takes some time, but it's nothing like getting EACL from the network that we did previously in many cases). Signed-off-by: Roman Khimov <[email protected]>
b755aa9
to
8008392
Compare
Closes #1016.