registry
registry copied to clipboard
EPP: client side status editing
Attempts to set/change client side statuses over EPP fail even though Client side status editing is enabled in Admin interface (/admin/settings)
sample query:
<?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-6a2.ee</domain:name>
<domain:add>
<domain:status s="clientRenewProhibited" lang="en">Test</domain:status>
</domain:add>
</domain:update>
</update>
<clTRID>timo-1520436100</clTRID>
</command>
</epp>
response:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="lib/schemas/epp-ee-1.0.xsd">
<response>
<result code="2306">
<msg lang="en">Parameter value policy error. Client-side object status management not supported: status [status]</msg>
</result>
<trID>
<clTRID>timo-1520436100</clTRID>
<svTRID>ccReg-4534604104</svTRID>
</trID>
</response>
</epp>
At #1454 added allowance only for clientHold.
Maybe we should set kind of whitelist of domain statuses we are allowing to change via EPP?
whitelist sounds like a good idea. We will probably remain with only hold status editing enabled for some time - so we want to allow limited client side status editing
registar can now add and remove clientHold statuses