mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Story#109623634 - No after-validate contacts callback for transfer
This commit is contained in:
parent
4980bc591d
commit
668cbdac06
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ class Epp::Domain < Domain
|
|||
|
||||
before_validation :manage_permissions
|
||||
def manage_permissions
|
||||
return true if is_transfer
|
||||
return unless update_prohibited? || delete_prohibited?
|
||||
add_epp_error('2304', nil, nil, I18n.t(:object_status_prohibits_operation))
|
||||
false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue