Skip to Content
DecisionsPDR-004 Subscription AuthZ Phased Rollout

PDR-004: Subscription-Based Authorization Phased Rollout

Context

We need to enable runtime authorization enforcement. Options vary in latency, effort, and deployment model.

Decision

Phased rollout (A → B → D → C):

PhaseNameLatencyEffort
AExternal AuthZ REST API (POST /v1/authz/check)5–50ms4–6 weeks
BGateway plugins (Kong, Envoy, AWS GW)5–50ms8–12 weeks
DOPA policy bundles (edge, offline)sub-1ms6–8 weeks
CFull platform with SDKs (TS, Python, Java, Go)sub-1ms cached16–24 weeks

Rationale

  • Phase A: Lowest effort, fastest to market; works with any gateway
  • Phase B: Native integration; lower latency at gateway
  • Phase D: Edge-deployable; offline-capable
  • Phase C: Highest latency; requires SDK adoption

Consequences

  • Positive: Incremental value; can stop at any phase
  • Negative: Four phases to maintain; different integration paths
Last updated on