aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3_constants/s3_acp.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-09-25 20:34:12 +0500
committerGitHub <noreply@github.com>2023-09-25 08:34:12 -0700
commitf8b94cac0e91660ff4dc33bb458e973b4de6523b (patch)
tree46226e5a964b65546ac299b4ad2e8cb5b7b81d0b /weed/s3api/s3_constants/s3_acp.go
parentc9177c92e5b6459d15d112738b7a3862655a853f (diff)
downloadseaweedfs-f8b94cac0e91660ff4dc33bb458e973b4de6523b.tar.xz
seaweedfs-f8b94cac0e91660ff4dc33bb458e973b4de6523b.zip
[s3acl] Step1: move s3account.AccountManager into to iam.S3ApiConfiguration (#4859)
* move s3account.AccountManager into to iam.S3ApiConfiguration and switch to Interface https://github.com/seaweedfs/seaweedfs/issues/4519 * fix: test bucket acl default and adjust the variable names * fix: s3 api config test --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Diffstat (limited to 'weed/s3api/s3_constants/s3_acp.go')
-rw-r--r--weed/s3api/s3_constants/s3_acp.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/weed/s3api/s3_constants/s3_acp.go b/weed/s3api/s3_constants/s3_acp.go
new file mode 100644
index 000000000..d24e07e24
--- /dev/null
+++ b/weed/s3api/s3_constants/s3_acp.go
@@ -0,0 +1,6 @@
+package s3_constants
+
+const (
+ AccountAnonymousId = "anonymous"
+ AccountAdminId = "admin"
+)