frostfs-node/cmd/neofs-cli/modules/container
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
..
create.go [#1365] cli: Sync container with network config 2022-07-13 17:10:06 +03:00
delete.go [#1500] neofs-cli: Check if container contains LOCK objects before removal 2022-07-15 13:25:56 +03:00
get.go [#1556] Upgrade NeoFS SDK Go with changed container API 2022-07-05 11:26:06 +03:00
get_eacl.go [#1687] go.mod: Update neofs-sdk-go 2022-08-22 18:59:57 +03:00
list.go [#1649] cli: Refactor --owner flag definition in container list cmd 2022-08-15 10:18:51 +03:00
list_objects.go [#1649] cli: Add option to print attributes in list-objects 2022-08-15 10:18:51 +03:00
root.go [#1380] neofs-cli: move container command to a separate package 2022-06-16 09:27:07 +03:00
set_eacl.go [#1652] cli/container: Pre-check ACL extensibility in set-eacl 2022-09-02 16:22:16 +04:00
util.go [#1380] neofs-cli: move container command to a separate package 2022-06-16 09:27:07 +03:00