ADORSYS-GIS / ADORSYS-GIS/lightbridge-authz
[Story]: Policy inheritance and override resolution
- Ngôn ngữ chính
- Rust
- Star
- 0
- Fork
- 1
- Merge trung bình
- 6 giờ 42 phút
- Pull request đã merge (30 ngày)
- 246
Mô tả
## Summary
Implement policy inheritance and override resolution so a policy (model access, budget, residency) set at a BU node applies to all descendant teams unless explicitly overridden lower in the tree.
## Intent / Source of truth
Buyers expect per-node policy with inheritance, not per-team manual configuration at 10k-seat scale. Part of [Epic] Organization hierarchy and delegated administration.
## Scope
- [ ] Policy resolution algorithm (nearest-ancestor-wins, or documented alternative)
- [ ] Support for model-access, budget, and residency policy types
- [ ] Explicit override recorded and distinguishable from inherited defaults
- [ ] Resolution result exposed via API for debugging ("why does this team have this policy")
## Out of scope
- Policy authoring UI
## Verification
Test matrix covering inherit / override / multi-level-override cases for each policy type; a "why" debug endpoint returns the correct resolution chain.
## Risk assessment
Silent policy resolution bugs (e.g. an override not taking effect) directly cause either budget leaks or access-denial incidents; needs strong test coverage before any customer relies on it.
## AI Usage Declaration
Drafted with AI assistance during the 2026-08-13 cross-repo backlog consolidation and enterprise-readiness research. A human owns intent, verification and consequences.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.