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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user