Skip to content

feat(domain): add auto-renew and transfer-lock set commands - #348

Merged
jpage-godaddy merged 1 commit into
mainfrom
feature/GDDEVPLAT-320-auto-renew-transfer-lock
Oct 22, 2026
Merged

jpage-godaddy merged 1 commit into
mainfrom
feature/GDDEVPLAT-320-auto-renew-transfer-lock

Conversation

@rts1-godaddy

Copy link
Copy Markdown
Collaborator

https://godaddy-corp.atlassian.net/browse/GDDEVPLAT-320

Expose the Domains v3 setAutoRenew and setTransferLock mutations as gddy domain auto-renew set and gddy domain transfer-lock set, with step-up scope domains.domain:update. Includes the implementation proposal.

…T-320]

Expose the Domains v3 setAutoRenew and setTransferLock mutations as
`gddy domain auto-renew set` and `gddy domain transfer-lock set`, with
step-up scope domains.domain:update. Includes the implementation proposal.

Co-authored-by: Cursor <cursoragent@cursor.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Security-sensitive mutations have unresolved dry-run safeguards, and runtime safety remains unverified, requiring human review.

2 open issues
What changed in this PR

Adds domain-setting commands to the GoDaddy CLI using the Domains v3 API and the step-up domains.domain:update scope.

Changes:

  • Adds auto-renew and transfer-lock toggles with mutually exclusive --enable and --disable flags.
  • Returns operation details and follow-up commands for asynchronous updates.
  • Registers both commands and extends authentication and sensitive-scope tests.
File Description
rust/​src/​scopes/​tests.rs Adds domain updates to the expected step-up scopes.
rust/​src/​scopes/​declarations.rs Declares the sensitive domain-update scope.
rust/​src/​domain/​transfer_lock.rs Implements transfer locking and unlocking.
rust/​src/​domain/​mod.rs Registers both command groups and extends help and authentication tests.
rust/​src/​domain/​auto_renew.rs Implements automatic-renewal toggles.

Review effort: Balanced

Comment thread rust/src/domain/auto_renew.rs
Comment thread rust/src/domain/transfer_lock.rs
@jpage-godaddy
jpage-godaddy merged commit 841c7a0 into main Oct 22, 2026
6 checks passed
@jpage-godaddy
jpage-godaddy deleted the feature/GDDEVPLAT-320-auto-renew-transfer-lock branch October 22, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants