mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Set validation to prohibit ManualInzone with any of the *Hold statuses
This commit is contained in:
parent
25e0b61a15
commit
ffde929540
4 changed files with 34 additions and 6 deletions
|
@ -1,6 +1,12 @@
|
|||
module Concerns::Domain::Deletable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
DELETE_STATUSES = [
|
||||
DomainStatus::PENDING_DELETE_CONFIRMATION,
|
||||
DomainStatus::PENDING_DELETE,
|
||||
DomainStatus::FORCE_DELETE,
|
||||
].freeze
|
||||
|
||||
private
|
||||
|
||||
def delete_later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue