diff --git a/proto-docs/service.md b/proto-docs/service.md index fc0eb48..2307191 100644 --- a/proto-docs/service.md +++ b/proto-docs/service.md @@ -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 | diff --git a/service/verify.proto b/service/verify.proto index 76fd15e..46a8fac 100644 --- a/service/verify.proto +++ b/service/verify.proto @@ -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;