Skip to content

Commit

Permalink
acl: Extend Target comment
Browse files Browse the repository at this point in the history
Closes #278.

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
  • Loading branch information
smallhive committed Jul 29, 2024
1 parent ec8f1f5 commit b71d6fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion acl/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion proto-docs/acl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |


<a name="neo.fs.v2.acl.EACLTable"></a>
Expand Down

0 comments on commit b71d6fc

Please sign in to comment.