[#207] acl: Clarify container_id field meaning in the eACL table of a BearerToken

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-03-18 17:45:32 +03:00 committed by Stanislav Bogatyrev
parent 650c367529
commit 431335054c

View file

@ -190,7 +190,9 @@ message BearerToken {
// owner with additional information preventing token's abuse. // owner with additional information preventing token's abuse.
message Body { message Body {
// Table of Extended ACL rules to use instead of the ones attached to the // Table of Extended ACL rules to use instead of the ones attached to the
// container // container. If it contains `container_id` field, bearer token is only
// valid for this specific container. Otherwise, any container of the same owner
// is allowed.
EACLTable eacl_table = 1 [json_name="eaclTable"]; EACLTable eacl_table = 1 [json_name="eaclTable"];
// `OwnerID` to whom the token was issued. Must match the request // `OwnerID` to whom the token was issued. Must match the request