Beta 2.3.0
New Features
Dynamic Role Management
Custom Roles: You can now create unlimited custom roles (e.g., "Manager", "Supervisor") beyond the default Admin/Waiter/Cook.
Permission Matrix: Granular control over which pages each role can access.
Migration: Existing users and roles have been automatically migrated to the new system.
UI: New Roles & Permissions page in Admin Dashboard.
Menu Caegory Management
Manage Categories: Create, edit, and delete menu categories directly from the admin panel (Management -> Categories).
Sorting: Define sort order for categories to control how they appear on the menu.
Menu Display Options
Photo Toggle: Added a setting to "Show Menu Photos" in Admin -> Settings.
Text-Only Mode: When photos are disabled, the customer kiosk displays a compact, streamlined card layout.
🛠 Improvements
Security Check: Enhanced backend permission validation (
checkPermission()
) for strict access control.
Sidebar: Navigation links now automatically hide based on the logged-in user's permissions.
User Management: Dropdown selection for roles when creating/editing users.
Action Required: Users might need to re-login to refresh their permission cache.
Admin Lock: The primary 'Admin' role cannot be deleted or renamed to prevent system lockout.