Skip to content

feat(directoryprotection): write endpoints — add / update / delete#193

Merged
chmmou merged 1 commit into
mainfrom
feature/directoryprotection-write
May 30, 2026
Merged

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

Conversation

@chmmou

@chmmou chmmou commented May 30, 2026

Copy link
Copy Markdown
Owner

Wire add_directoryprotection / update_directoryprotection / delete_directoryprotection (#123, #13 write slice).

A protection entry is identified by the (path, user) pair, taken as two positional args (add|update|delete <path> <user>). update and delete are gated by the #109 confirmation prompt; add is not. No _new_password split — update reuses directory_password — and update is sparse (only cobra-Changed flags sent). Scalar single-user form only; the documented KAS array form (multiple users/passwords per call) is deliberately not modelled since the array wire-encoding is uncaptured.

Closes #123

Wire add/update/delete_directoryprotection. A protection entry is
identified by the (path, user) pair taken as two positional args.
update and delete are gated by the #109 confirmation prompt; add is
not. No directory_new_password split — update reuses directory_password
— and update is sparse (only Changed flags sent). Scalar single-user
form only; the KAS array form is deliberately not modelled.

Closes #123
@chmmou chmmou merged commit 63cd956 into main May 30, 2026
5 checks passed
@chmmou chmmou deleted the feature/directoryprotection-write branch May 30, 2026 08:56
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(directoryprotection): write endpoints — add / update / delete

1 participant