WIP: Make IsAllow receive client defined overrides #82

Draft
aarifullin wants to merge 1 commits from aarifullin/policy-engine:feat/clientdef_overrides into master

1 Commits (master)

Author SHA1 Message Date
Airat Arifullin a847f28b01 [#82] router: Make IsAllow receive client defined overrides
DCO action / DCO (pull_request) Successful in 1m30s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m21s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 1m33s Details
Tests and linters / Staticcheck (pull_request) Successful in 1m29s Details
Tests and linters / Tests with -race (pull_request) Successful in 1m47s Details
Tests and linters / Lint (pull_request) Successful in 2m22s Details
* Change `ChainRouter` interface: `IsAllow` should also receive
  client defined overrides that are checked after local overrides
  but before morph chains. Client defined overrides are checked for
  per request.
* Fix code that uses `ChainRouter`.
* Fix unit-tests.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-06-28 15:48:00 +03:00