forked from TrueCloudLab/frostfs-node
[#505] morph/container: Add SetEACL method arguments
Pass session token (byte array) argument to `SetEACL` method call of `Container` contract. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cf40e19985
commit
6d9cc0dc60
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,8 @@ type SetEACLArgs struct {
|
||||||
sig []byte // eACL table signature
|
sig []byte // eACL table signature
|
||||||
|
|
||||||
pubkey []byte // binary public key
|
pubkey []byte // binary public key
|
||||||
|
|
||||||
|
token []byte // binary session token
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetEACL sets the extended ACL table
|
// SetEACL sets the extended ACL table
|
||||||
|
@ -40,6 +42,7 @@ func (c *Client) SetEACL(args SetEACLArgs) error {
|
||||||
args.eacl,
|
args.eacl,
|
||||||
args.sig,
|
args.sig,
|
||||||
args.pubkey,
|
args.pubkey,
|
||||||
|
args.token,
|
||||||
)
|
)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue