Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain delete is prohibited when *UpdateProhibited status is set #1844

Closed
vohmar opened this issue Feb 11, 2021 · 2 comments · Fixed by #1848
Closed

Domain delete is prohibited when *UpdateProhibited status is set #1844

vohmar opened this issue Feb 11, 2021 · 2 comments · Fixed by #1848
Assignees
Labels

Comments

@vohmar
Copy link
Contributor

vohmar commented Feb 11, 2021

client/serverUpdateProhibited status on a domain object affects only domain:update requests (registrant change, adding/removing admin and tech contacts, nameservers and dnssec keys). It does not affect other EPP/REPP operations like renew, transfer and delete.

Issue: domain:delete request for a domain registration with client/serverUpdateProhibited results with 2304

<result code="2304">
  <msg lang="en">Object status prohibits operation</msg>
</result>
@vohmar
Copy link
Contributor Author

vohmar commented Feb 19, 2021

after this update even domain update is allowed for domains with serverUpdateProhibited status. So yes delete works now, but domain:update should be still denied. *UpdateProhibited status should affect only domain:update requests in case of EPP.

why aren't the tests catching this?

@yulgolem
Copy link
Contributor

Suppose because there was no tests on this for some reason.
Tests added, as well as fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants