forked from TrueCloudLab/frostfs-node
[#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:
parent
8f9e7c2a63
commit
43e575cec2
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ const (
|
||||||
// keywords of predefined basic ACL values
|
// keywords of predefined basic ACL values
|
||||||
const (
|
const (
|
||||||
basicACLPrivate = "private"
|
basicACLPrivate = "private"
|
||||||
basicACLReadOnly = "readonly"
|
basicACLReadOnly = "public-read"
|
||||||
basicACLPublic = "public"
|
basicACLPublic = "public-read-write"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in a new issue