leofs
leofs copied to clipboard
[S3-API] Object ACL Support
Description
LeoFS currently does not support Get Object ACL
For example,
GET http://bucket.leofs/object?acl
LeoFS would reply the object content instead of the ACL (Basically treated as normal GET)
As a first step (easy hack?), we can handle the GET Object ACL Request by replying the ACL of Bucket
@windkit
As a first step (easy hack?), we can handle the GET Object ACL Request by replying the ACL of Bucket
Seems easy to me. I'd like to discuss with @yosukehara whether we will do this easy hack as a first step in 1.x.x release. IMHO, we should do if the remaining issue on #483 is critical one.
Decided implementing
- Handle GET Object ACL replying ACL of the Bucket the given object belongs to in 1.3.3
- Handle the GET/PUT Object ACL managing ACL per Object in 2.0.0
@windkit Go forward for 1.3.3 also check whether this fixes #639 .
Note: get things done for 1.3.3.
@mocchira The previous fix only works when the object is not cached, I am creating a PR