diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-10-07 23:22:35 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-10-07 23:22:35 -0700 |
| commit | e91b9c85a20a6322b5776d1616c457ee3d48e6a0 (patch) | |
| tree | 6737a4cdb7470f72ee10b490547cb56971993986 /weed/s3api/auth_credentials.go | |
| parent | a8624c2e4f94dce96448f6f3b33fb0f71e1f07df (diff) | |
| download | seaweedfs-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.go | 8 |
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 { |
