From 43e575cec27c4f68ddac484c3e70e2e3ae680a00 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 19 May 2021 16:16:05 +0300 Subject: [PATCH] [#528] cli/container: Use AWS-style names in basic ACL keywords When user creates a container using neofs-cli, he can set a pre-defined ACL. Current keywords are confusing: for example, `public` really means that everyone can write to the container, while the expectation is just public visibility. Perform the following renames for a better understanding of the purpose: * `readonly` -> `public-read`; * `public` -> `public-read-write`. Signed-off-by: Leonard Lyubich --- cmd/neofs-cli/modules/container.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/neofs-cli/modules/container.go b/cmd/neofs-cli/modules/container.go index 8d9d1033..7e5d3686 100644 --- a/cmd/neofs-cli/modules/container.go +++ b/cmd/neofs-cli/modules/container.go @@ -35,8 +35,8 @@ const ( // keywords of predefined basic ACL values const ( basicACLPrivate = "private" - basicACLReadOnly = "readonly" - basicACLPublic = "public" + basicACLReadOnly = "public-read" + basicACLPublic = "public-read-write" ) var (