From b71d6fcd52f6e79cd2767349ba1f51f8297aa9f7 Mon Sep 17 00:00:00 2001 From: Evgenii Baidakov Date: Fri, 5 Jul 2024 11:27:05 +0400 Subject: [PATCH] acl: Extend Target comment Closes #278. Signed-off-by: Evgenii Baidakov --- acl/types.proto | 3 ++- proto-docs/acl.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/acl/types.proto b/acl/types.proto index e48f7d9..fa55427 100644 --- a/acl/types.proto +++ b/acl/types.proto @@ -176,7 +176,8 @@ message EACLRecord { // Target subject's role class Role role = 1 [json_name="role"]; - // List of public keys to identify target subject + // List of 25-byte accounts to identify target subjects. + // 33-byte public keys are also supported, however, they are deprecated and script hashes should be derived from them. repeated bytes keys = 2 [json_name="keys"]; } // List of target subjects to apply ACL rule to diff --git a/proto-docs/acl.md b/proto-docs/acl.md index 9563f3e..d434801 100644 --- a/proto-docs/acl.md +++ b/proto-docs/acl.md @@ -152,7 +152,7 @@ keys to match. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | role | [Role](#neo.fs.v2.acl.Role) | | Target subject's role class | -| keys | [bytes](#bytes) | repeated | List of public keys to identify target subject | +| keys | [bytes](#bytes) | repeated | List of 25-byte accounts to identify target subjects. 33-byte public keys are also supported, however, they are deprecated and script hashes should be derived from them. |