AppMenu : Implement Sidebar Menu with Permission-based Access Control #112

Merged
ashutosh.nehete merged 12 commits from AppMenu into Tenant_Management 2025-08-23 07:49:59 +00:00
Collaborator

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.

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.
pramod.mahajan added 10 commits 2025-08-23 07:13:09 +00:00
pramod.mahajan added 1 commit 2025-08-23 07:15:36 +00:00
ashutosh.nehete added 1 commit 2025-08-23 07:49:45 +00:00
ashutosh.nehete merged commit 5d2687f1e7 into Tenant_Management 2025-08-23 07:49:59 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.api#112
No description provided.