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

Registrar: enable removing clientHold status #1481

Closed
vohmar opened this issue Jan 18, 2020 · 5 comments
Closed

Registrar: enable removing clientHold status #1481

vohmar opened this issue Jan 18, 2020 · 5 comments
Assignees

Comments

@vohmar
Copy link
Contributor

vohmar commented Jan 18, 2020

Related to #1428 1428

Registrar portal is lacking an option to remove clientHold status.

there should be an option in registrar portal ui to remove clientHold status from a domain that has it set.

In addition there should be and example epp domain update request in the xml console to remove clientHold status - this might be totally new sample request or added to the preexisting domain update request.

for example:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
  <command>
    <update>
      <domain:update
       xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd">
        <domain:name>timo-4a.ee</domain:name>
        <domain:rem>
          <domain:status s="clientHold"/>
        </domain:rem>
      </domain:update>
    </update>
    <clTRID>timo-1579351654</clTRID>
  </command>
</epp>
@yulgolem yulgolem self-assigned this Jan 21, 2020
@vohmar
Copy link
Contributor Author

vohmar commented Jan 23, 2020

for xml console one could just update domain:update sample request like so:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
  <command>
    <update>
      <domain:update
       xmlns:domain="https://epp.tld.ee/schema/domain-eis-1.0.xsd">
        <domain:name>example.ee</domain:name>
        <domain:add>
          <domain:ns>
            <domain:hostAttr>
              <domain:hostName>ns1.example.com</domain:hostName>
            </domain:hostAttr>
            <domain:hostAttr>
              <domain:hostName>ns2.example.com</domain:hostName>
            </domain:hostAttr>
          </domain:ns>
          <domain:contact type="tech">mak21</domain:contact>
        </domain:add>
        <domain:rem>
          <domain:ns>
            <domain:hostAttr>
              <domain:hostName>ns1.example.net</domain:hostName>
            </domain:hostAttr>
          </domain:ns>
          <domain:contact type="tech">mak21</domain:contact>
          <domain:status s="clientHold"/>
        </domain:rem>
        <domain:chg>
          <domain:registrant>mak21</domain:registrant>
          <domain:authInfo>
            <domain:pw>newpw</domain:pw>
          </domain:authInfo>
        </domain:chg>
      </domain:update>
    </update>
    <extension>
      <secDNS:update xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">
        <secDNS:rem>
          <secDNS:keyData>
            <secDNS:flags>257</secDNS:flags>
            <secDNS:protocol>3</secDNS:protocol>
            <secDNS:alg>8</secDNS:alg>
            <secDNS:pubKey>700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f</secDNS:pubKey>
          </secDNS:keyData>
        </secDNS:rem>
      </secDNS:update>
      <eis:extdata xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd">
        <eis:legalDocument type="pdf">
          dGVzdCBmYWlsCg==
        </eis:legalDocument>
      </eis:extdata>
    </extension>
    <clTRID>timo-1579814872</clTRID>
  </command>
</epp>

@yulgolem
Copy link
Contributor

Blocked by internetee/docker-images#5 (comment), #846 (WIP)

@vohmar
Copy link
Contributor Author

vohmar commented Feb 19, 2020

Looks good and everything seems to work as expected.

Some suggestions for consideration:

  • It might be better to move the remove clienthold button from the domain index view to the domain details view. This wouldn't affect the domain index view as there will be relatively few domains with this status
  • rename the example clientHold status removal example request in xml console to 'rem clientHold" or 'remove clientHold' to make it clear what this request is about

@vohmar
Copy link
Contributor Author

vohmar commented Feb 19, 2020

domain info view returns error:
ArgumentError in Registrar::Domains#info

image

@vohmar
Copy link
Contributor Author

vohmar commented Feb 26, 2020

fixed by #1533

@vohmar vohmar closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants