Add plugins.get_plugin_settings_routes to PUBLIC_ENDPOINTS

New endpoint must answer unauthenticated pages (kiosks, TV displays)
so they can load plugin routes before login. Gate test now passes.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Proudlock
2026-09-11 17:06:59 -04:00
parent 3d041da233
commit a186ba1136

View File

@@ -26,6 +26,11 @@ PUBLIC_ENDPOINTS = {
'setup.needs_admin',
'auth.get_current_user',
'plugins.list_enabled_plugins',
'plugins.get_plugin_settings_routes', # plugin-contributed settings routes
# for dynamic UI extension; must answer
# unauthenticated pages (kiosks, TV
# displays) so they can register plugin
# tabs before login
'dashboard.get_navigation', # filtered per caller; a guest sees only
# what the guest role can reach
'dashboard.get_capabilities', # booleans about the CALLER, used to decide