forked from TrueCloudLab/frostfs-api
[#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:
parent
77c4b55100
commit
4b3794cbb9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue