chore: Apply strategy pattern to abac

Merged
KE
7mo ago
+228-143

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

This is a setup for the ABAC 2 PoC. We need the pdp (decision point) to be interchangeable. Public service API doesn't change, just a few adjustements on the internals of the package to allow for switching.

The switch will be done with a setting, once the External PDP works.

Summary by CodeRabbit

  • Refactor
    • Refactored attribute-based access control architecture to support pluggable evaluation strategies (local and external).
    • Enhanced decision caching mechanism to improve access control performance.

CORE-1988