platform.menu¶
Manages the menu structure and the default menu per role. This is where the screen layout is changed, so it is tied directly to access rights.
5 endpoints - system platform - module gate applies
What this module covers - Menu entries, roles.
Endpoints¶
| Method | Path | What it does | Evidence |
|---|---|---|---|
| POST | /platform/menu/items |
Register a menu entry | handler platformApiMenuWrite() · calls menu-management.js |
| PATCH/DELETE | /platform/menu/items/(?P<id>\d+) |
Edit or delete a menu entry | handler platformApiMenuWrite() |
| GET | /platform/menu/roles |
Read the menu layout per role | handler platformValue() · calls menu-management.js |
| PATCH | /platform/menu/roles/(?P<id>\d+)/default-menu |
Set the default menu of a role | handler platformApiMenuWrite() |
| GET/PATCH | /platform/menu/tree |
Read or save the menu tree | handler platformValue() · calls menu-management.js |
Topics this module shares with other modules¶
- Menu - this topic is spread across 2 modules and 7 endpoints.
The description is a summary read off the route path, the handler, the tables it reaches and the screens that call it. Nothing is guessed without evidence: where the handler has to be read, it says so. The full evidence is on each endpoint page.