You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2026. It is now read-only.
Define and implement an online-primary public routing capability for AWCMS-Mini while preserving the existing offline/LAN-first operational capability.
Context
AWCMS-Mini already has tenant-aware modular monolith foundations, RBAC/ABAC/RLS, module management, audit logging, and offline/LAN deployment support. Public website/SaaS use cases now need clean, SEO-friendly, white-label public URLs without requiring tenantCode in the path.
Target routing model:
Domain/Subdomain -> Public Tenant Resolver -> Tenant Context -> /news Public Routes -> blog_content
Scope
Online-primary public tenant routing mode.
Tenant domain/subdomain mapping.
Default public tenant resolver with offline/LAN fallback.
Objective
Define and implement an online-primary public routing capability for AWCMS-Mini while preserving the existing offline/LAN-first operational capability.
Context
AWCMS-Mini already has tenant-aware modular monolith foundations, RBAC/ABAC/RLS, module management, audit logging, and offline/LAN deployment support. Public website/SaaS use cases now need clean, SEO-friendly, white-label public URLs without requiring
tenantCodein the path.Target routing model:
Scope
/newspublic routes forblog_content./blog/{tenantCode}compatibility documentation.Out of scope
/blog/{tenantCode}routes in the MVP.Acceptance criteria
/newsroutes resolve content for the correct tenant.config:validatetests.Security notes
tenant_id,withTenant, RBAC/ABAC, and PostgreSQL RLS.X-Forwarded-Hostunless explicitly configured behind a trusted proxy.Child issues
Create/implement child issues for:
/newspublic routes.