P0 Audit: 3D Capability Matrix (RBAC) — SQLAlchemy Model Audit #283
Notifications
Total Time Spent: 2 minutes
kincses
2 minutes
No due date set.
Dependencies
No dependencies set.
Reference: kincses/service-finder#283
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mérföldkő: P0 — Infrastructure & Enterprise Readiness
Cél: Read-only audit of existing SQLAlchemy models to assess readiness for a 3-Dimensional RBAC system (Global Roles × Tenant Roles × Subscription Capabilities).
🔗 Függőségek (Dependencies)
📝 Elemzés
We need to audit 4 critical dimensions: (1) Global/System roles on the User model, (2) Local/Tenant roles on the OrganizationMember pivot, (3) Subscription tier + JSONB overrides on Organization, (4) Feature-capability linkage on AssetCostCategory. The result will be a Markdown report proposing exact DB migration steps.
▶️ Munka megkezdve: 2026-06-24 09:49:16
✅ Munka befejezve: 2026-06-24 09:51:48
Technikai Összefoglaló:
Completed read-only model audit for 3D Capability Matrix (RBAC). Report saved at docs/p0_3d_capability_matrix_audit_report.md. Key findings: D1 (Global Roles) + D2 (Tenant Roles) are sufficient. D3 needs custom_features JSONB on Organization. D4 needs required_feature column on CostCategory. Proposed 3 ALTER TABLE migrations + 1 optional ENUM.
⏱️ Az idő rögzítve.