60 lines
3.4 KiB
Markdown
60 lines
3.4 KiB
Markdown
# Privacy policy facts
|
|
|
|
Numbers and hosting details the new privacy policy leaves in brackets.
|
|
Live `/privacy` stays behind `ENABLE_PRIVACY_POLICY` until university
|
|
counsel has read this text. Do not switch the route on from this file.
|
|
|
|
## How long things are kept
|
|
|
|
| What | Period | Where it is built |
|
|
| --- | --- | --- |
|
|
| Login and save-progress links | Work for **60 minutes**. Unused rows, and any draft they carry, are deleted once expired. A daily job runs the delete, so they are gone **within 24 hours** of expiry. | `MAGIC_LINK_TTL_MS`, Cloudron scheduler `prune-expired` |
|
|
| Email-change links | Same as login links: **60 minutes**, then gone within **24 hours**. | `EMAIL_CHANGE_TTL_MS` |
|
|
| Unused invitation tokens | The link stops granting access when it expires (**60 minutes**). The hash stays on the invitation so the person can request a new link from the expired page, and so the organizer can send it again. The daily job does not delete it. | `STAKEHOLDER_INVITE_TTL_MS` |
|
|
| Workshop inquiries that do not lead to a workshop | **12 months**, then deleted. | `WORKSHOP_INQUIRY_RETENTION_MS` |
|
|
| Ask an organizer messages | **Not stored** on CommunityRule. They are emailed to MEDLab. MEDLab deletes mailbox copies after **12 months**. | Mail only |
|
|
| Unused accounts | **Kept until the person deletes the account.** There is no unused-account timer at launch. | — |
|
|
| Server logs (app logs and Cloudron request logs) | **14 days.** Cloudron removes logs older than that. That is the shortest period the platform allows. | Cloudron log viewer |
|
|
| Backups | **30 days** (`30 daily` on the Cloudron backup site). Cloudron also keeps a pre-update snapshot for up to three extra weeks. | Operator setting, see the runbook |
|
|
| Reply to a data request | **30 days** | Process, not an app timer |
|
|
|
|
Invitation **lifetime while it still works** is a product decision, not
|
|
set here. At launch the invite token uses the same 60-minute window as
|
|
login.
|
|
|
|
## Where it runs
|
|
|
|
Servers are in the **United States**. MEDLab operates them with
|
|
**Cloudron**: the app, the PostgreSQL database, mail, and file storage
|
|
on that host. Sign-in mail relays through Amazon SES.
|
|
|
|
## Who reads workshop inquiries
|
|
|
|
Only the people who answer them: MEDLab staff with the workshop inbox
|
|
and the operator page. Inquiries live in the `WorkshopInquiry` table
|
|
until the 12-month delete.
|
|
|
|
## Analytics
|
|
|
|
**Umami**, self-hosted beside the app, with no cookies and aggregate
|
|
counts only. Name it in the policy. The app loads the tracker only when
|
|
`NEXT_PUBLIC_UMAMI_SRC` and `NEXT_PUBLIC_UMAMI_WEBSITE_ID` are set.
|
|
Cookie-free mode is configured on the Umami app, not in this repo.
|
|
See [`docs/guides/ops-runbook.md`](guides/ops-runbook.md) §9.3.
|
|
|
|
## Product copy the build already matches
|
|
|
|
- **Login sent.** A login link works for **60 minutes**. The sent state
|
|
and the login email both say so.
|
|
- **Offline.** Answers stay in this browser until the person reconnects.
|
|
The offline notice already says that.
|
|
|
|
## After counsel, and after launch
|
|
|
|
- `/privacy` can show the new policy only after university counsel has
|
|
read it, including the Colorado Open Records Act line, Terms, Cookies,
|
|
the legal cards, and CC0 for cards and templates. Flipping
|
|
`ENABLE_PRIVACY_POLICY=true` on production is that switch.
|
|
- An email to every account holder before a change to who can read Rules
|
|
is after launch. Nothing about who can read Rules changes at launch.
|