diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2023-09-22 02:07:04 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-21 14:07:04 -0700 |
| commit | 750a0ba1b2677c9b9bc9f0a1073a72a923e9a5f3 (patch) | |
| tree | 8ff63a201d6be6ee8d570f7c4c9b0dc2a9dab120 /weed/s3api/s3_constants/s3_actions.go | |
| parent | 8b2c39f2c06be2ec5c5b3ca93a87f134e46de219 (diff) | |
| download | seaweedfs-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_actions.go')
| -rw-r--r-- | weed/s3api/s3_constants/s3_actions.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/weed/s3api/s3_constants/s3_actions.go b/weed/s3api/s3_constants/s3_actions.go index 17087ae03..8d770e408 100644 --- a/weed/s3api/s3_constants/s3_actions.go +++ b/weed/s3api/s3_constants/s3_actions.go @@ -1,11 +1,13 @@ package s3_constants const ( - ACTION_READ = "Read" - ACTION_WRITE = "Write" - ACTION_ADMIN = "Admin" - ACTION_TAGGING = "Tagging" - ACTION_LIST = "List" + ACTION_READ = "Read" + ACTION_READ_ACP = "ReadAcp" + ACTION_WRITE = "Write" + ACTION_WRITE_ACP = "WriteAcp" + ACTION_ADMIN = "Admin" + ACTION_TAGGING = "Tagging" + ACTION_LIST = "List" SeaweedStorageDestinationHeader = "x-seaweedfs-destination" MultipartUploadsFolder = ".uploads" |
