Skip to content

v0.2.0 - User Management & Deployment Update

Latest

Choose a tag to compare

@Krishanthaudayakumara Krishanthaudayakumara released this 29 May 04:15
8d1d300

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/users to 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/profile section 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 Dockerfile to accurately bundle Prisma managed database files, storage migrations, and the complete cached node_modules directory.
  • 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.