diff --git a/acl/types.proto b/acl/types.proto index ae29abc..b9beb14 100644 --- a/acl/types.proto +++ b/acl/types.proto @@ -126,12 +126,16 @@ message EACLRecord { // EACLRecord carries the information about extended ACL rules. message EACLTable { + // eACL format version. + // Effectively the version of API library used to create eACL Table + neo.fs.v2.refs.Version version = 1; + // Carries identifier of the container that should use given // access control rules. - neo.fs.v2.refs.ContainerID container_id = 1 [json_name="ContainerID"]; + neo.fs.v2.refs.ContainerID container_id = 2 [json_name="ContainerID"]; // Records carries list of extended ACL rule records. - repeated EACLRecord records = 2 [json_name="Records"]; + repeated EACLRecord records = 3 [json_name="Records"]; } // BearerToken has information about request ACL rules with limited lifetime diff --git a/proto-docs/acl.md b/proto-docs/acl.md index f3f14c7..933ff16 100644 --- a/proto-docs/acl.md +++ b/proto-docs/acl.md @@ -114,6 +114,7 @@ EACLRecord carries the information about extended ACL rules. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | +| version | [neo.fs.v2.refs.Version](#neo.fs.v2.refs.Version) | | eACL format version. Effectively the version of API library used to create eACL Table | | container_id | [neo.fs.v2.refs.ContainerID](#neo.fs.v2.refs.ContainerID) | | Carries identifier of the container that should use given access control rules. | | records | [EACLRecord](#neo.fs.v2.acl.EACLRecord) | repeated | Records carries list of extended ACL rule records. |