mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
added dnskey update prohibited status
This commit is contained in:
parent
c771902780
commit
9bffb09e34
5 changed files with 238 additions and 5 deletions
|
@ -220,6 +220,14 @@ class Domain < ApplicationRecord
|
|||
nameservers.select { |x| !x.hostname.end_with?(name) }
|
||||
end
|
||||
|
||||
def extension_update_prohibited?
|
||||
statuses.include? DomainStatus::SERVER_EXTENSION_UPDATE_PROHIBITED
|
||||
end
|
||||
|
||||
def dnskey_update_enabled?
|
||||
statuses.include? DomainStatus::SERVER_DNSKEY_UPDATE_ENABLED
|
||||
end
|
||||
|
||||
def admin_change_prohibited?
|
||||
statuses.include? DomainStatus::SERVER_ADMIN_CHANGE_PROHIBITED
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue