From 09db5e387d46c19996ff53fa4fa8ed0c0472103c Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 28 Feb 2022 19:59:41 +0300 Subject: [PATCH] [#1200] cli: Mention filter key prefixes in eACL creation command Signed-off-by: Alex Vanin --- cmd/neofs-cli/modules/acl/extended/create.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/neofs-cli/modules/acl/extended/create.go b/cmd/neofs-cli/modules/acl/extended/create.go index 8d6aa40d5..6eb4de848 100644 --- a/cmd/neofs-cli/modules/acl/extended/create.go +++ b/cmd/neofs-cli/modules/acl/extended/create.go @@ -29,7 +29,10 @@ Operation is an object service verb: 'get', 'head', 'put', 'search', 'delete', ' Filter consists of : Typ is 'obj' for object applied filter or 'req' for request applied filter. - Key is a valid unicode string corresponding to object or request header key. + Key is a valid unicode string corresponding to object or request header key. + Well-known system object headers start with '$Object:' prefix. + User defined headers start without prefix. + Read more about filter keys at github.com/nspcc-dev/neofs-api/blob/master/proto-docs/acl.md#message-eaclrecordfilter Match is '==' for matching and '!=' for non-matching filter. Value is a valid unicode string corresponding to object or request header value.