leofs icon indicating copy to clipboard operation
leofs copied to clipboard

[S3-API] Object ACL Support

Open windkit opened this issue 8 years ago • 5 comments

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)

windkit avatar Aug 24 '16 02:08 windkit

As a first step (easy hack?), we can handle the GET Object ACL Request by replying the ACL of Bucket

windkit avatar Aug 24 '16 02:08 windkit

@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.

mocchira avatar Mar 14 '17 01:03 mocchira

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 .

mocchira avatar Mar 14 '17 03:03 mocchira

Note: get things done for 1.3.3.

mocchira avatar Mar 23 '17 08:03 mocchira

@mocchira The previous fix only works when the object is not cached, I am creating a PR

windkit avatar Nov 02 '17 07:11 windkit