frostfs-node/cmd/neofs-cli/internal/client
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.go [#1652] cli/container: Pre-check ACL extensibility in set-eacl 2022-09-02 16:22:16 +04:00
doc.go [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00
prm.go [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
sdk.go [#1461] cli: Add context to GetCurrentEpoch helper 2022-07-18 11:42:25 +03:00