aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3_constants/s3_config.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-09-22 02:07:04 +0500
committerGitHub <noreply@github.com>2023-09-21 14:07:04 -0700
commit750a0ba1b2677c9b9bc9f0a1073a72a923e9a5f3 (patch)
tree8ff63a201d6be6ee8d570f7c4c9b0dc2a9dab120 /weed/s3api/s3_constants/s3_config.go
parent8b2c39f2c06be2ec5c5b3ca93a87f134e46de219 (diff)
downloadseaweedfs-750a0ba1b2677c9b9bc9f0a1073a72a923e9a5f3.tar.xz
seaweedfs-750a0ba1b2677c9b9bc9f0a1073a72a923e9a5f3.zip
[iam] Replace action read/write to readAcp/writeAcp for handlers with acl (#4858)
Replace action read/write to readAcp/writeAcp for handlers with acl query https://github.com/seaweedfs/seaweedfs/issues/4519 Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
Diffstat (limited to 'weed/s3api/s3_constants/s3_config.go')
-rw-r--r--weed/s3api/s3_constants/s3_config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3_constants/s3_config.go b/weed/s3api/s3_constants/s3_config.go
index 0fa5b26f4..cb44b9484 100644
--- a/weed/s3api/s3_constants/s3_config.go
+++ b/weed/s3api/s3_constants/s3_config.go
@@ -7,7 +7,7 @@ import (
var (
CircuitBreakerConfigDir = "/etc/s3"
CircuitBreakerConfigFile = "circuit_breaker.json"
- AllowedActions = []string{ACTION_READ, ACTION_WRITE, ACTION_LIST, ACTION_TAGGING, ACTION_ADMIN}
+ AllowedActions = []string{ACTION_READ, ACTION_READ_ACP, ACTION_WRITE, ACTION_WRITE_ACP, ACTION_LIST, ACTION_TAGGING, ACTION_ADMIN}
LimitTypeCount = "Count"
LimitTypeBytes = "MB"
Separator = ":"