When I protect the public link of "team-photo.png" with the password "Webship-Share-2026"

Protect the public link of a file or folder with a password: its details ("Customize link"), "Set password", the password, "Update share".

Examples

When I protect the public link of "team-photo.png" with the password "Webship-Share-2026"
When I protect the public link of "Project files" with the password "Webship-Share-2026"
When we protect the public link of "meeting-notes.md" with the password "Webship-Share-2026"
And I protect the public link of "annual-report.pdf" with the password "Another-Share-2026"
When I protect the public link of "budget.txt" with the password "Webship-Share-2026"

Pattern

When(/^(?:I|we) protect the public link of "([^"]*)" with the password "([^"]*)"$/, …)

Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.