-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eacl: Support numeric matchers #554
Conversation
29dafb3
to
ce9130f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second commit's body is Handle handle
.
What is our tests status? Can some repeating reruns fix it?
Yeah, i saw them, i meant what do we do for now? Just ignore them? Maybe at least skip them? |
ce9130f
to
84bb77c
Compare
forgot to test |
d09a4b0
to
a1444d8
Compare
a1444d8
to
ac151c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK with big.Int
to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK with big.Int to me.
Well ok, but i would add a limitation in the future (at least to the attribute's length).
We'll have nspcc-dev/neofs-api#262 soon, we need it. We can discuss per-attribute limits there as well, but those would be like 4K which is not that far from 32K. |
NeoFS API protocol was recently extended with numeric `null`, >`, `>=`, `<` and `<=` match operators. These operators should be provided by SDK so users could use them in their access rules. Signed-off-by: Leonard Lyubich <[email protected]>
Handle recently added `MatchType` values by `Validator` to support integer comparisons and attribute absence. Non-decimal filter and/or header value used with numeric matcher is considered as mismatching rule. Signed-off-by: Leonard Lyubich <[email protected]>
ac151c2
to
a31bd91
Compare
No description provided.