seaweedfs/weed/s3api
LHHDZ a5b867af69
don't skip empty value at AssembleEntryWithAcp (#3855)
* add acl helper functionalities

Signed-off-by: changlin.shi <changlin.shi@ly.com>

* add tests

Signed-off-by: changlin.shi <changlin.shi@ly.com>

* remove 0 when create map

Signed-off-by: changlin.shi <changlin.shi@ly.com>

* delete when empty at `AssembleEntryWithAcp`

`PutBucketAcl/PutObjectAcl` allow request with empty grants, `AssembleEntryWithAcp`  shouldn't skip empty value

Signed-off-by: changlin.shi <changlin.shi@ly.com>

Signed-off-by: changlin.shi <changlin.shi@ly.com>
2022-10-13 22:50:44 -07:00
..
policy docs(s3api): readability improvements (#3696) 2022-09-15 03:13:21 -07:00
s3_constants add acl helper functionalities (#3831) 2022-10-12 20:15:16 -07:00
s3account change s3_account.go package to avoid cycle dependency (#3813) 2022-10-10 06:44:29 -07:00
s3acl don't skip empty value at AssembleEntryWithAcp (#3855) 2022-10-13 22:50:44 -07:00
s3err add ownership rest apis (#3765) 2022-10-01 19:18:00 -07:00
AmazonS3.xsd add list all my buckets 2018-07-18 02:37:09 -07:00
auth_credentials_subscribe.go s3: sync bucket info from filer (#3759) 2022-09-29 12:29:01 -07:00
auth_credentials_test.go change s3_account.go package to avoid cycle dependency (#3813) 2022-10-10 06:44:29 -07:00
auth_credentials.go change s3_account.go package to avoid cycle dependency (#3813) 2022-10-10 06:44:29 -07:00
auth_signature_v2.go docs(s3api): readability improvements (#3696) 2022-09-15 03:13:21 -07:00
auth_signature_v4.go docs(s3api): readability improvements (#3696) 2022-09-15 03:13:21 -07:00
auto_signature_v4_test.go docs(s3api): readability improvements (#3696) 2022-09-15 03:13:21 -07:00
bucket_metadata_test.go split ExtAcpKey to ExtAmzOwnerKey and ExtAmzAclKey to avoid unn… (#3824) 2022-10-11 20:14:14 -07:00
bucket_metadata.go split ExtAcpKey to ExtAmzOwnerKey and ExtAmzAclKey to avoid unn… (#3824) 2022-10-11 20:14:14 -07:00
chunked_reader_v4.go docs(s3api): readability improvements (#3696) 2022-09-15 03:13:21 -07:00
custom_types.go weed s3: generate time format acceptable by aws cli s3 2019-04-01 16:13:29 -07:00
filer_multipart_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_multipart.go fix 0 size (#3683) 2022-09-15 01:27:02 -07:00
filer_util_tags.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_util.go add ownership rest apis (#3765) 2022-10-01 19:18:00 -07:00
README.txt add list all my buckets 2018-07-18 02:37:09 -07:00
s3api_acp.go change s3_account.go package to avoid cycle dependency (#3813) 2022-10-10 06:44:29 -07:00
s3api_auth.go go fmt 2020-02-26 16:52:57 -08:00
s3api_bucket_handlers_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_bucket_handlers.go add ownership rest apis (#3765) 2022-10-01 19:18:00 -07:00
s3api_bucket_skip_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_circuit_breaker_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_circuit_breaker.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_handlers.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
s3api_object_copy_handlers_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_object_copy_handlers.go s3: close response body with copying object 2022-08-31 00:09:23 -07:00
s3api_object_handlers_postpolicy.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_object_handlers_test.go Remove duplicate slashes in object path to prevent 500 errors (#3442) 2022-08-15 08:19:28 -07:00
s3api_object_handlers.go refactor(s3api_object_handlers): deleteMultipleObjectsLimmit -> `de… (#3695) 2022-09-15 03:12:48 -07:00
s3api_object_multipart_handlers.go go fmt 2022-09-14 23:06:44 -07:00
s3api_object_skip_handlers.go AclHandlers 2021-10-11 15:03:56 +05:00
s3api_object_tagging_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_objects_list_handlers_test.go Fix s3 pagination (#3436) 2022-08-15 00:30:19 -07:00
s3api_objects_list_handlers.go Fix s3 pagination (#3436) 2022-08-15 00:30:19 -07:00
s3api_policy.go correct comments 2022-02-26 22:44:26 +08:00
s3api_server_grpc.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_server.go change s3_account.go package to avoid cycle dependency (#3813) 2022-10-10 06:44:29 -07:00
s3api_status_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_xsd_generated.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
stats.go avoid increasing the coordinates of metric labels (#3785) 2022-10-04 01:20:01 -07:00
tags_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
tags.go refactor and fix strings.Split 2022-08-07 01:34:32 -07:00

see https://blog.aqwari.net/xml-schema-go/

1. go get aqwari.net/xml/cmd/xsdgen
2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd