mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Story #109086524 - revert to allow merge, changes fixed on branch for story 109367694
This commit is contained in:
parent
611151317c
commit
674fa9f76b
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@ class Epp::Domain < Domain
|
|||
|
||||
before_validation :manage_permissions
|
||||
def manage_permissions
|
||||
return if is_admin # this bad hack for 109086524, refactor later
|
||||
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