From 1f7d2f553e9fea5ebc0de8da24cd642d07c051da Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Mon, 9 Sep 2024 11:11:19 +0300 Subject: [PATCH] cli: do not overwrite parsed eacl rules Regression from c72af12127e852779d4c3dddd648a5b6326da048. As I have already said in associated PR, new SDK turned out to be a counter-CLI thing. Signed-off-by: Pavel Karpy --- cmd/neofs-cli/modules/util/acl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-cli/modules/util/acl.go b/cmd/neofs-cli/modules/util/acl.go index d46d70bc80..ddc00756ca 100644 --- a/cmd/neofs-cli/modules/util/acl.go +++ b/cmd/neofs-cli/modules/util/acl.go @@ -236,7 +236,7 @@ func parseEACLTable(tb *eacl.Table, args []string) error { records = append(records, record) } - tb.SetRecords(records) + tb.SetRecords(append(tb.Records(), records...)) return nil }