1c4bf3e1e0
Allow granting specific accounts more storage via an account_storage_exceptions table in the saas DB, without relying on the blanket staff bypass.
6 lines
150 B
Ruby
6 lines
150 B
Ruby
class Account::StorageException < SaasRecord
|
|
belongs_to :account
|
|
|
|
validates :bytes_allowed, presence: true, numericality: { greater_than: 0 }
|
|
end
|