add acl helper functionalities (#3831)

This commit is contained in:
LHHDZ
2022-10-13 11:15:16 +08:00
committed by GitHub
parent 401315f337
commit bf5e45b66a
4 changed files with 1233 additions and 0 deletions

View File

@@ -38,6 +38,14 @@ const (
AmzTagCount = "x-amz-tagging-count"
X_SeaweedFS_Header_Directory_Key = "x-seaweedfs-is-directory-key"
// S3 ACL headers
AmzCannedAcl = "X-Amz-Acl"
AmzAclFullControl = "X-Amz-Grant-Full-Control"
AmzAclRead = "X-Amz-Grant-Read"
AmzAclWrite = "X-Amz-Grant-Write"
AmzAclReadAcp = "X-Amz-Grant-Read-Acp"
AmzAclWriteAcp = "X-Amz-Grant-Write-Acp"
)
// Non-Standard S3 HTTP request constants