mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Add check if UpdateProhibited for domain update
This commit is contained in:
parent
89c1bcf693
commit
aae9e39d35
2 changed files with 22 additions and 1 deletions
|
@ -465,7 +465,7 @@ class Epp::Domain < Domain
|
|||
def update(frame, current_user, verify = true)
|
||||
return super if frame.blank?
|
||||
|
||||
if discarded?
|
||||
if discarded? || statuses_blocks_update?
|
||||
add_epp_error('2304', nil, nil, 'Object status prohibits operation')
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue