generated from TrueCloudLab/basic
FrostFS Access Policy Engine
ab67b9028e
All checks were successful
Tests and linters / Staticcheck (pull_request) Successful in 1m4s
DCO action / DCO (pull_request) Successful in 1m13s
Tests and linters / Tests (pull_request) Successful in 1m14s
Tests and linters / Tests with -race (pull_request) Successful in 1m28s
Tests and linters / Lint (pull_request) Successful in 1m50s
* Introduce new operation with suffix "IfExists" for all string and numeric condition operations; * An operation with "IfExists" suffix specifies the following: if the condition key is present in the context of the request, process the key as specified in the policy. If the key is not present, evaluate the condition element as true; * Change the signature for interface method `Property()`: since it returns two values - the second indicates whether the property exists; * This also means that original condition operations for string and number comparison is slightly changed: if property doesn't exist, then the condition is not evaluated. Signed-off-by: Airat Arifullin <aarifullin@yadro.com> |
||
---|---|---|
.forgejo/workflows | ||
docs | ||
iam | ||
pkg | ||
schema | ||
util | ||
.gitattributes | ||
.gitignore | ||
.gitlint | ||
.golangci.yml | ||
.pre-commit-config.yaml | ||
go.mod | ||
go.sum | ||
Makefile |