aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/http/header.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-12 13:57:54 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-12 13:57:54 -0800
commite6333da65ad6774d8c945bc29f686386e0515385 (patch)
tree76c679e541e5721fbce38336090966998d80d647 /weed/s3api/http/header.go
parent70944924286b85081414e9ce9ee01197c6239209 (diff)
downloadseaweedfs-e6333da65ad6774d8c945bc29f686386e0515385.tar.xz
seaweedfs-e6333da65ad6774d8c945bc29f686386e0515385.zip
enable admin to access all buckets
Diffstat (limited to 'weed/s3api/http/header.go')
-rw-r--r--weed/s3api/http/header.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/s3api/http/header.go b/weed/s3api/http/header.go
index cdd383c84..f496429fc 100644
--- a/weed/s3api/http/header.go
+++ b/weed/s3api/http/header.go
@@ -32,4 +32,5 @@ const (
// Non-Standard S3 HTTP request constants
const (
AmzIdentityId = "x-amz-identity-id"
+ AmzIsAdmin = "x-amz-is-admin" // only set to http request header as a context
)