Multi-Tenancy

Workflow supports multi-tenant (company) and multi-organization (branch) architecture with Row-Level Security enforced at the database level. Each user belongs to one company and can access one or more organizations within that company.
Workflow รองรับสถาปัตยกรรมแบบ multi-tenant (บริษัท) และ multi-organization (สาขา) โดยใช้ Row-Level Security ในระดับฐานข้อมูล ผู้ใช้แต่ละคนสังกัดบริษัทหนึ่งและสามารถเข้าถึงได้หนึ่งหรือหลายองค์กรในบริษัทนั้น

Roles

Users can hold multiple roles simultaneously — permissions are merged as a union across all assigned roles. ผู้ใช้สามารถมีได้หลายบทบาทพร้อมกัน สิทธิ์จะถูกรวมกันแบบ union จากทุกบทบาทที่ได้รับมอบหมาย
RoleDescription
AdminFull access to all modules and settings
ManagerApprovals, reporting, all operational modules
ProcurementPRs, POs, Vendors, Goods Receipts
WarehouseGRs, Inventory, Stock Adjustments, Delivery Notes
ProductionWork Orders, BOMs, Inventory
EngineerBOMs, Products, Job Controls
ViewerRead-only access to all modules

Assigning Roles

  1. Go to SettingsUsers
  2. Click Invite User or select an existing user
  3. Toggle one or more roles
  4. Save — changes take effect immediately
ไปที่ SettingsUsers แล้วเลือกผู้ใช้หรือกด Invite User จากนั้นเปิด/ปิดบทบาทที่ต้องการ