feat(dev_tools): add diagnostics hub with permissions audit tool

Evolve the platform-debug page into a diagnostics hub with sidebar
explorer layout. Add permissions audit API that introspects all
registered page routes and reports auth/permission enforcement status.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 15:44:49 +01:00
parent efca9734d2
commit 618376aa39
9 changed files with 687 additions and 120 deletions

View File

@@ -140,8 +140,8 @@ async def admin_platform_debug_page(
db: Session = Depends(get_db),
):
"""
Render platform resolution debug page.
Traces middleware pipeline for all URL patterns.
Render diagnostics hub page.
Provides platform trace, permissions audit, and other diagnostic tools.
"""
return templates.TemplateResponse(
"dev_tools/admin/platform-debug.html",