frostfs-node/cmd/neofs-cli
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
..
internal [#1652] cli/container: Pre-check ACL extensibility in set-eacl 2022-09-02 16:22:16 +04:00
modules [#1652] cli/container: Pre-check ACL extensibility in set-eacl 2022-09-02 16:22:16 +04:00
main.go cli: Add empty neofs-cli app structure 2020-10-02 11:25:35 +03:00