WIP: Make IsAllow receive client defined overrides #82

Closed
aarifullin wants to merge 1 commit from aarifullin/policy-engine:feat/clientdef_overrides into master

1 commit

Author SHA1 Message Date
Airat Arifullin
a847f28b01 [#82] router: Make IsAllow receive client defined overrides
All checks were successful
DCO action / DCO (pull_request) Successful in 1m30s
Tests and linters / Tests (1.21) (pull_request) Successful in 1m21s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m33s
Tests and linters / Staticcheck (pull_request) Successful in 1m29s
Tests and linters / Tests with -race (pull_request) Successful in 1m47s
Tests and linters / Lint (pull_request) Successful in 2m22s
* 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