FrostFS Access Policy Engine
Find a file
Airat Arifullin fc750ccedd
Some checks failed
DCO action / DCO (pull_request) Failing after 31s
Tests and linters / Staticcheck (pull_request) Successful in 1m2s
Tests and linters / Tests (pull_request) Successful in 1m27s
Tests and linters / Tests with -race (pull_request) Successful in 1m44s
Tests and linters / Lint (pull_request) Successful in 2m28s
[#XX] chain: Introduce new condition operations
* 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>
2024-10-02 13:30:23 +03:00
.forgejo/workflows [#91] go.mod: Bump go version to 1.22 2024-08-22 12:22:15 +03:00
docs [#71] docs: Introduce APE overview 2024-05-13 16:37:44 +00:00
iam [#87] iam: Support s3:PatchObject action 2024-08-22 10:41:52 +00:00
pkg [#XX] chain: Introduce new condition operations 2024-10-02 13:30:23 +03:00
schema [#85] schema: Introduce PatchObject method 2024-08-14 11:02:54 +03:00
util [#7] engine: Move globMatch to common util package 2023-11-15 09:22:42 +00:00
.gitattributes [#56] Fix pre-commit issue 2024-03-07 18:01:50 +03:00
.gitignore Initial commit 2023-10-04 08:29:00 +00:00
.gitlint Initial commit 2023-10-04 08:29:00 +00:00
.golangci.yml [#91] lint: Fix warnings 2024-08-22 12:22:32 +03:00
.pre-commit-config.yaml [#73] pre-commit: Use cached tests in hook 2024-05-02 18:15:53 +03:00
go.mod [#91] go.mod: Bump go version to 1.22 2024-08-22 12:22:15 +03:00
go.sum [#91] go.mod: Bump go version to 1.22 2024-08-22 12:22:15 +03:00
Makefile [#91] go.mod: Bump go version to 1.22 2024-08-22 12:22:15 +03:00