Skip to content

Commit

Permalink
container: Document eACL input requirements of setEACL method
Browse files Browse the repository at this point in the history
`SetEACL` method imposes requirements on the eACL parameter of a generic
byte array type. These requirements should be described in the
documentation as user manual.

Ref nspcc-dev#329.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Apr 10, 2023
1 parent ec467c9 commit 288dddc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion container/container_contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,9 @@ func List(owner []byte) [][]byte {
// if it was invoked by Alphabet nodes of the Inner Ring. Otherwise, it produces
// setEACL notification.
//
// EACL should be a stable marshaled EACLTable structure from API.
// EACL should be a stable marshaled EACLTable structure from API. Protocol
// version and container reference must be set in 'version' and 'container_id'
// fields respectively.
// Signature is a RFC6979 signature of the Container.
// PublicKey contains the public key of the signer.
// Token is optional and should be a stable marshaled SessionToken structure from
Expand Down

0 comments on commit 288dddc

Please sign in to comment.