Skip to content

Commit

Permalink
cli: do not overwrite parsed eacl rules (#2931)
Browse files Browse the repository at this point in the history
Regression from c72af12. As I have
already said in associated PR, new SDK turned out to be a counter-CLI
thing.
  • Loading branch information
carpawell authored Sep 9, 2024
2 parents d214b0c + 1f7d2f5 commit 1a5809e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/neofs-cli/modules/util/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1a5809e

Please sign in to comment.