Files
LogiFlow/server
michaelschal 7239b97c8c Fix order creation for employees and improve permission handling
Remove specific permission checks from route handlers in `server/routes.ts` and adjust the `delete` operation to use the shared permission system. Add a new debugging script `debug-employee-customer-orders.js` to diagnose issues with employee roles creating customer orders.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/rppGAOc
2025-08-12 13:49:10 +00:00
..
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00
2025-08-11 14:43:48 +00:00