frostfs-node/cmd/neofs-cli/internal
Leonard Lyubich 491a908af1 [#1652] cli/container: Pre-check ACL extensibility in set-eacl
Container ACL in NeoFS can be extended only for container in which the
corresponding option is enabled. In previous implementation command
`set-eacl` could hang up on modifying eACL of the non-existent or
non-extendable container. To improve UX, there is a need to pre-check
the availability of `SETEACL` operation.

Add boolean `precheck` flag to `set-eacl` cmd which reads the container
before the actual transaction formation. If flag is set, command fails
on non-extendable container ACL.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-02 16:22:16 +04:00
..
client [#1652] cli/container: Pre-check ACL extensibility in set-eacl 2022-09-02 16:22:16 +04:00
common [#1461] cli: Reorganize common functions 2022-07-18 11:42:25 +03:00
commonflags [#1612] neofs-cli: Unify expiration flags 2022-07-22 16:18:09 +03:00
key [#1424] neofs-cli: Fail immediately if a key can't be fetched 2022-05-25 09:46:41 +03:00