Merge pull request #1856 from internetee/1849-contact-with-status-delete-prohibited-can-be-deleted

1849 contact with status delete prohibited can be deleted
This commit is contained in:
Timo Võhmar 2021-02-22 13:20:08 +02:00 committed by GitHub
commit bd2cdc7153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 66 additions and 2 deletions

View file

@ -82,8 +82,11 @@ class Epp::Contact < Contact
'2302' => [ # Object exists
[:code, :epp_id_taken]
],
'2304' => [ # Status prohibits operation
[:statuses, :delete_prohibited],
],
'2305' => [ # Association exists
[:domains, :exist]
[:domains, :exist],
]
}
end