AppMenu : Implement Sidebar Menu with Permission-based Access Control #112
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "AppMenu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces a dynamic sidebar menu system where menu items and submenus are displayed based on the logged-in employee’s feature permissions.
Added PermissionKey to MenuItem model for mapping with feature permissions.
Implemented backend logic in GetAppSideBarMenu to fetch allowed menu items per employee.
Integrated feature-permission check before rendering sidebar.
Updated menu structure with Activities, Administration, Expense, Inventory, and Help sections.
Ensured fallback handling when user is not logged in or does not have permissions.