#1404: MenuCreator.kt

projectforge-business/src/main/kotlin/org/projectforge/menu/builder/MenuCreator.kt Service, projectforge-business/src/main/kotlin/org/projectforge/menu/builder/MenuCreator.kt 663 lines · 517 code · 98 comments · 48 blank
Spring @Component defining the master menu tree structure. Initializes all MenuItemDef entries in a hierarchy (COMMON, PROJECT_MANAGEMENT, HR, FIBU, COST, REPORTING, ORGA, ADMINISTRATION, MISC) with sub-menu items. Each menu item has configurable access checks (required groups, user rights, custom lambda checks), badge counters (e.g., pending vacation approvals, to-be-invoiced orders), and supports plugin menu registration. The build() method creates a user-specific Menu by filtering based on access rights.

Git History

868d6abb7 2025 -> 2026
ed1b06fa0 WIP: currency conversion with Claude Code.
7187b40f9 Menu customization
2cf5332b3 Cost-Search added for Fakturafuexe
8a2ea847f MyMenuPagesRest: New Excel functionality for customizing the personal menu.
261354a30 Visibility of menu items is now configurable (by groups).
46ec387f5 MenuItemDef.requiredUserRight removed
63081666f Source file headers: 2024-> 2025.
6b5594ea3 POLL-menu position fixed.
144af40ca Merge pull request #230 from NikitaMic/develop
d96924c09 Fixed ExcelExport synthax and added logs
543f785af Menu: poll added to misc.
1012e347a Migration stuff in progress... (all tests of all packages: OK).
87dd5b87c AuftragsCache refactored
67805f2fc ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser