[#157] container: Add session token to GetExtendedACLResponse body

Extended ACL can be set within a session. The presence of a session token in
the GET response body allows you to reflect this fact.

Add `session_token` field of `session.SessionToken` type to
`container.GetExtendedACLResponse.Body` message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-24 14:20:26 +03:00 committed by Stanislav Bogatyrev
parent 77c4b55100
commit 4b3794cbb9

View file

@ -298,6 +298,9 @@ message GetExtendedACLResponse {
// Signature of stable-marshalled Extended ACL according to RFC-6979 // Signature of stable-marshalled Extended ACL according to RFC-6979
neo.fs.v2.refs.Signature signature = 2; neo.fs.v2.refs.Signature signature = 2;
// Session token if Extended ACL was set within a session
neo.fs.v2.session.SessionToken session_token = 3;
} }
// Body of get extended acl response message. // Body of get extended acl response message.
Body body = 1; Body body = 1;