[#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 <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-19 16:16:05 +03:00 committed by Alex Vanin
parent 8f9e7c2a63
commit 43e575cec2

View file

@ -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 (