nspcc-dev / neofs-sdk-go

Go implementation of NeoFS SDK
Apache License 2.0
6 stars 14 forks source link

API to delete rules from EACL tables and filters #580

Open roman-khimov opened 7 months ago

roman-khimov commented 7 months ago

Is your feature request related to a problem? Please describe.

I'm always frustrated when people can't manage EACL the way they want to. They can add rules, but can't delete them. https://pkg.go.dev/github.com/nspcc-dev/neofs-sdk-go@v1.0.0-rc.11/eacl#Table

Describe the solution you'd like

Add APIs to delete rules or filters, they can be convenient in some cases (get EACL/modify/update).

Describe alternatives you've considered

Make it an open structure and manage items in a slice. So convenient... But doesn't fit current model, unfortunately.