Files
fizzy/saas/app/models/account/storage_exception.rb
T
Jorge Manrubia 1c4bf3e1e0 Add per-account storage exceptions for SaaS (#2733)
Allow granting specific accounts more storage via an
account_storage_exceptions table in the saas DB, without
relying on the blanket staff bypass.
2026-03-19 15:36:36 +01:00

6 lines
150 B
Ruby

class Account::StorageException < SaasRecord
belongs_to :account
validates :bytes_allowed, presence: true, numericality: { greater_than: 0 }
end