aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-07 23:22:35 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-07 23:22:35 -0700
commite91b9c85a20a6322b5776d1616c457ee3d48e6a0 (patch)
tree6737a4cdb7470f72ee10b490547cb56971993986 /weed/s3api/auth_credentials.go
parenta8624c2e4f94dce96448f6f3b33fb0f71e1f07df (diff)
downloadseaweedfs-e91b9c85a20a6322b5776d1616c457ee3d48e6a0.tar.xz
seaweedfs-e91b9c85a20a6322b5776d1616c457ee3d48e6a0.zip
s3: Added support for "List" action in weed s3 -config=... in the config file.
fix https://github.com/chrislusf/seaweedfs/issues/1511
Diffstat (limited to 'weed/s3api/auth_credentials.go')
-rw-r--r--weed/s3api/auth_credentials.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go
index 31519e6e3..2b7666345 100644
--- a/weed/s3api/auth_credentials.go
+++ b/weed/s3api/auth_credentials.go
@@ -16,9 +16,11 @@ import (
type Action string
const (
- ACTION_READ = "Read"
- ACTION_WRITE = "Write"
- ACTION_ADMIN = "Admin"
+ ACTION_READ = "Read"
+ ACTION_WRITE = "Write"
+ ACTION_ADMIN = "Admin"
+ ACTION_TAGGING = "Tagging"
+ ACTION_LIST = "List"
)
type Iam interface {