Olgax POS v0.2.0 — Multi-User & Profile Upgrade
This release brings full multi-user administration, self-service profile controls, security enhancements, and critical infrastructure updates for seamless VPS deployments.
👥 What's New & Improved
1. Role-Based User Management (Admin Only)
- Administrative Interface: Dedicated management dashboard located at
/settings/usersto easily view, create, edit, and delete user accounts. - Role Assignment: Full control over user roles (Admin vs. Cashier) directly from the UI using native forms tailored to existing design patterns.
- Fail-Safe Protections: Built-in safeguards to prevent critical errors, blocking administrators from self-deleting, self-demoting, or removing the last remaining admin in the system.
🔒 2. User Profile & Security Settings
- Self-Service Profiles: Added a dedicated
/settings/profilesection accessible via the settings sidebar navigation. - Account Updates: Users can now natively update their names, modify email addresses (with duplicate detection), and change their passwords securely using current password verification.
- UI/UX Refinements: Integrated a password visibility toggle, fixed alignment inconsistencies, and enhanced session syncing to immediately update active user data across the client app.
🐳 3. Production & Deployment Optimizations
- Runtime Upgrade: Upgraded the system environment to Node.js 22 for improved execution speed and security.
- Docker Multi-Stage Fixes: Overhauled the production runner stage configuration in the
Dockerfileto accurately bundle Prisma managed database files, storage migrations, and the complete cachednode_modulesdirectory. - VPS Network Security: Added support for configuring trusted origins, resolving cross-origin and host handshake errors encountered during self-hosted VPS installations.
⚙️ Quick Start & Upgrade Path
If you are upgrading an existing instance, pull the latest image and run your compose file to pick up the updated Docker configurations:
git pull origin main
docker compose up --build -d
See the updated README for detailed technical specifications on setting trusted origins env flags.