mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +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
|
@ -16,6 +16,7 @@ class Epp::Domain < Domain
|
|||
return unless update_prohibited?
|
||||
|
||||
stat = (statuses & (DomainStatus::UPDATE_PROHIBIT_STATES + DomainStatus::DELETE_PROHIBIT_STATES)).first
|
||||
|
||||
add_epp_error('2304', 'status', stat, I18n.t(:object_status_prohibits_operation))
|
||||
throw(:abort)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue