Back to Changelog

v1.0.304

Patch Released June 19, 2026

Fixed resource_quota not created when unlimited plan is assigned to ADMIN/RESELLER accounts

Improvements

2
  • Startup self-heal (SH-008): on backend boot, any existing ADMIN/RESELLER account missing a resource_quota is automatically repaired without blocking startup or requiring manual intervention
  • Edit-path is now idempotent: if a plan is set on an account that previously had no plan, a resource_quota is created automatically

Bug Fixes

3
  • ADMIN and RESELLER accounts assigned an unlimited plan (disk_quota_mb=-1) now correctly receive a resource_quota record; previously the -1 value violated the CHECK constraint and caused a silent INSERT failure, leaving the account locked with no resource quota configured
  • Plan-to-quota mapping now converts unlimited (-1) plan values to 0 (the zero=unlimited invariant for cgroups) instead of passing -1 directly to the resource_quotas table
  • Negative bandwidth and maxUsers plan values are also clamped to 0 to prevent constraint violations
See the Demo