fix(web): share dialog states the links-off policy in place of the form (#351) #387
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "share-off-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #351 with the dialog-notice pattern (per decision): Share stays reachable; when
shareLinksDisabledis set the dialog opens showing apeernoticein place of the form — "Public share links are turned off on this server. This is instance policy — links that already exist keep working." (all four locales). The quick Copy-link menu action shows the same notice as a toast instead of firing a doomed request; the submit handler is belt-and-braces guarded. WebDAV/API callers already get the policy-worded 400 from #352, unchanged. This is the reusable pattern for future instance-wide switches, matching the peering not-enabled precedent (#131).