Publish a privacy policy and terms of use - #133
Merged
Merged
Conversation
Static pages at /privacy and /terms, linked from the application's footer and from each other. The privacy policy states only what was verified on the deployed site: code stays in the browser, the workspace is in IndexedDB, share links travel in the fragment, no cookies or analytics, and Cloudflare's request logs (IP address included) kept up to seven days. Contact: info@cloudils.com.
|
Preview: https://f229d690-terravisual.ilsproj.workers.dev Security headers were verified against this deployment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #132.
Summary
A privacy policy at
/privacyand terms of use at/terms, linked from the app's footer (a Legal navigation) and from each other, with info@cloudils.com as the contact.What the privacy policy says, and how each claim was checked
connect-src 'self'.tfstateand.terraformare skipped on importworkspace/import.tspersistence/storage.ts,useSession.reset#fragment, never sent to the serverpersistence/share.tsSet-Cookiechecked on/,/analyzer.wasm,/favicon.svgin production: nonewrangler.jsoncobservability(sampling 1); Cloudflare docs: Workers Logs retention 3 days Free / 7 days Paid, header redactionwrangler.jsoncratelimits,deploy/rate-limit.tsscript-src 'self'; #100NodeDetails.tsxThe terms cover: acceptance; what the tool is; the limits of the diagrams (not a substitute for
terraform plan); ownership of content and responsibility for what is imported and shared; acceptable use; the Apache 2.0 license of the code; trademarks and non-affiliation; availability; no warranty; limitation of liability; changes; and contact.Implementation
web/public/privacy.html,terms.html: static HTML with no script. The asset server maps/privacy→privacy.html, and/privacy.htmlredirects with a 307.web/public/legal.css: external, because the CSP refuses inline styles. Uses the app's tokens, with light and dark schemes and a phone layout.Tests
web/e2e/legal.spec.ts(through the Worker): both pages return 200 with the CSP, show their heading and the contact email, are styled by the external sheet, pass axe, and log no CSP refusals. The footer links reach them and they link back.npm run verify: pass (281 unit tests). Browser suite: 78/78.Known limitations
Security considerations
Static pages under the same security headers; no script, no new origin, no inline style.