Repository navigation
feat(lib): specialised error message when preview blocked by watermark - #1986
aleksanderelsner wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. WalkthroughPreview reports a watermark-specific unsupported-file-type error when watermarking blocks a preview. The error distinguishes inherited watermarking from access-policy watermarking. Other preview permission and account error paths remain unchanged. ChangesWatermark preview errors
Estimated code review effort: 2 (Simple) | ~8 minutes Change: Feature Suggested reviewers: Merge Risk:
|
215f43c to
2364f99
Compare
Folder and access policy watermarking is type-agnostic.
When a file that does not support watermarking is placed in a watermarked folder, or has access policy that enforces watermarking, preview fails. That's because we remove preview permissions when we are unable to watermark the file.
Current behavior
Roles below editor, shared-link recipients, including a users in another enterprise: "This preview didn't load because you don't have permission. Please ask the file owner to update permissions."
Folder settings already tell the owner that some file types are hidden from Viewers, Previewers, and Previewer Uploaders. The preview error does not match that sentence.
Summary by CodeRabbit