Skip to content

feat(ftpuser): write endpoints — add / update / delete#178

Merged
chmmou merged 1 commit into
mainfrom
feature/ftpuser-write
May 19, 2026
Merged

feat(ftpuser): write endpoints — add / update / delete#178
chmmou merged 1 commit into
mainfrom
feature/ftpuser-write

Conversation

@chmmou

@chmmou chmmou commented May 19, 2026

Copy link
Copy Markdown
Owner

Wires add_ftpuser / update_ftpuser / delete_ftpuser through the shared internal/kaswrite seam (#119, #13 write slice).

  • ftpusers add --password <pw> --comment <c> [flags] — non-gated (reversible), still --dry-run + audited. KAS generates the login; it is printed on success.
  • ftpusers update <ftp-login> [flags] / delete <ftp-login>feat(cli): destructive-write confirmation infrastructure (--yes / interactive prompt) #109-gated. update sends only the cobra-Changed flags (empty value = deliberate clear).
  • Password key asymmetry handled per action: ftp_password on add, ftp_new_password on update; redacted in dry-run/audit.
  • Resolves the Write operations #13 plural-vs-singular question: the live action is add_ftpuser (singular); add_ftpusers is only the internal PHP function name — no fixture change needed.
  • Fresh-eyes critical review run pre-PR: no Blocker/Should.

Closes #119

Wire add_ftpuser / update_ftpuser / delete_ftpuser through the shared
internal/kaswrite seam. update and delete are #109-gated; add is
reversible and not prompted. add_ftpuser takes no ftp_login (KAS
generates it, echoed in ReturnInfo); the password key differs by
action (ftp_password on add, ftp_new_password on update). Resolves
the #13 plural-vs-singular question: the live action is add_ftpuser
(singular); add_ftpusers is only the internal PHP function name.

Closes #119
@chmmou chmmou merged commit 7c9accd into main May 19, 2026
6 checks passed
@chmmou chmmou deleted the feature/ftpuser-write branch May 19, 2026 19:52
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.

feat(ftpuser): write endpoints — add / update / delete

1 participant