Ignore local overrides with Allow status in chain router #97

Open
aarifullin wants to merge 1 commit from aarifullin/policy-engine:fix/83_ignore_override_allow into master

1 commit

Author SHA1 Message Date
Airat Arifullin
d1db407c72 [#83] router: Ignore local overrides with Allow status
All checks were successful
DCO action / DCO (pull_request) Successful in 27s
Tests and linters / Tests (pull_request) Successful in 39s
Tests and linters / Staticcheck (pull_request) Successful in 56s
Tests and linters / Tests with -race (pull_request) Successful in 57s
Tests and linters / Lint (pull_request) Successful in 1m38s
* If a target owner sets some private rules into morph, then the
  access may be intentionally/unintentionally violated by setting
  a local override that allows any operation;
* The same happens if no morph rule is found;
* Fix unit-test `TestInmemory_MultipleTargets`;
* Add unit-test `TestLocalOverrideAllowRule`.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2025-02-21 16:47:33 +03:00