-
Notifications
You must be signed in to change notification settings - Fork 19
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
Admin: cancel force delete should not remove deleteCandidate status #791
Comments
How can I set those statuses on force deletion? There is only a drop-down with template selection.
|
Force delete it self is label/name for a procedure. It is set of statuses. By applying force delete one actually adds these statuses to a domain: serverRenewProhibited, serverTransferProhibited, serverUpdateProhibited, pendingDelete, serverManualInzone + serverForceDelete. So by canceling force delete procedure no other statuses should be automatically removed. |
Why |
|
Not sure I understand this part |
I think it makes sense to rename I noticed our REST API |
not sure about the necessity of returning backed up statuses with repp api. may be removed. |
Can I solve #812 along with this ticket? |
How can I complete this ticket, which says
if #812 says that
? So if a status wasn't initially set, there is nothing to keep :) Or you mean when |
|
Why
=
? what is pending if any of those statuses is set?
|
This requires new API version. Though, I am not sure if there is anyone who actually relies on this. Perhaps we can follow pragmatic approach and to just change it? |
I see some restrictions connected to Line 134 in 96e2136
|
Can |
|
ForceDelete by itself should not prohibit anything - there are *prohibited statuses for that. deleteCandidate prohibits any change over EPP/REPP |
test process:
expected result:
|
First you asked for:
I have implemented it and the following tests pass:
So now it's not possible to cancel "force delete" operation unless a domain has now you ask for the opposite (at least how I understood it).
Can you clarify? |
|
test results:
|
Now you cannot cancel "force delete" procedure if a domain has |
can still add force delete while domain has deletecandidate status set. adding forcedelete to delete candidate, then removing delete candidate status to cancel forcedelete results with domain with reapplied deletecandidate status but no que job. Setting delete candidate status is a separate process so it should not be applied by anything else like canceling force delete process for example. (this would not be a problem if changing statuses by admin or registrar was disabled while deletecandidate status is applied. |
problem with cancelforcedelete restoring deletecandidate status if it was set before forcedelete was added is still there. The status is restored, but no que job is created. It would still be preferable if it was not possible to make any status changes on a domain while it has deletecandidate status set. But removing forcedelete should not set deletecandidate status on a domain. |
Now you cannot schedule "force delete" procedure if a domain has Same check during cancellation is removed as being useless (if you cannot start the process, there is obviously nothing to end). |
Please retest. |
/admin/domains/id/edit
cancel force delete function should remove only the statuses that were set on schedule force delete. So deleteCandidate status should not be removed when force delete is canceled even if the status was set due to forceDelete process running to an end. Removing deleteCandidate status must be conscious decision as this is exceptional action.
Furthermore as deleteCandidate status represents domain waiting to be released and not being owned any more by previous registrant cancelling (nor setting for that matter) forceDelete should not be possible until deleteCandidate status is set.
The text was updated successfully, but these errors were encountered: