Files
BetterDesk/docs/wiki
UNITRONIX cde8a58ad1 feat(api): serve the panel catalog from Go
Stage P3 (definition half) of the strangler plan. The console kept its own
panel section list and role map while Go owned the permissions - the
"second copy" discussion #496 pointed at.

GET /api/panel/catalog now serves the section list (key, label, group,
read/write permission), the group list, the whole permission vocabulary and
the built-in role defaults. Every signed-in principal may read it, because
every role renders its own navigation from it.

The console loads it at startup and looks sections up through
panelCatalog(); the bundled copy stays only as the fallback for an older
server binary and for unit tests. tests/panelCatalogParity.test.js fails if
the two definitions drift apart - it already caught a duplicate "toolkit"
entry nobody had noticed.

Also documents the whole plan in docs/important/console-backend-strangler.md
(domain/table ownership, stages, rollback switches) and updates the UX 3.6
wiki page and the changelog.

Refs #496

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-11 15:35:11 +01:00
..