[#31] service: Change BearerTokenMsg.Info.ACLRules field type
It was originally planned to transport extended ACL table in binary form. However, from time on, it was decided to abandon this approach in favor of the declared message structure (acl.EACLTable). In this regard, this commit changes the type and name of the binary BearerTokenMsg.Info.ACLRules field to EACLTable. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
05a885e142
commit
96ddb868bc
2 changed files with 4 additions and 3 deletions
|
@ -94,7 +94,7 @@ BearerTokenMsg carries information about request ACL rules with limited lifetime
|
|||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| ACLRules | [bytes](#bytes) | | ACLRules carries a binary representation of the table of extended ACL rules |
|
||||
| EACLTable | [acl.EACLTable](#acl.EACLTable) | | EACLTable carries table of extended ACL rules. |
|
||||
| OwnerID | [refs.OwnerID](#refs.OwnerID) | | OwnerID carries identifier of the token owner. |
|
||||
| ValidUntil | [uint64](#uint64) | | ValidUntil carries a last epoch of token lifetime |
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ package service;
|
|||
option go_package = "github.com/nspcc-dev/neofs-api-go/service";
|
||||
option csharp_namespace = "NeoFS.API.Service";
|
||||
|
||||
import "acl/types.proto";
|
||||
import "refs/types.proto";
|
||||
|
||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request.
|
||||
|
@ -89,8 +90,8 @@ message TokenLifetime {
|
|||
// BearerTokenMsg carries information about request ACL rules with limited lifetime
|
||||
message BearerTokenMsg {
|
||||
message Info {
|
||||
// ACLRules carries a binary representation of the table of extended ACL rules
|
||||
bytes ACLRules = 1;
|
||||
// EACLTable carries table of extended ACL rules.
|
||||
acl.EACLTable EACLTable = 1;
|
||||
|
||||
// OwnerID carries identifier of the token owner.
|
||||
refs.OwnerID OwnerID = 2;
|
||||
|
|
Loading…
Reference in a new issue