Public sharing: TTL 7d и 30d с extended retention

## Что это В дополнение к TTL `24h` доступны TTL `7d` и `30d` для долгоживущих ссылок (документация, asynchronous review, archive). Все правила redaction и audit те же. Различия: - **7d**: standard tier, R2 hot bucket, latency ≤ 200ms - **30d**: archive tier, через 7 дней snapshot мигрирует в R2 cold storage, latency ≤ 800ms (acceptable для archive) - **until-revoked** (отдельная feature): no auto-expire, требует explicit revoke через UI UI: при выборе TTL > 24h — confirmation «Long-lived links increase exposure risk» с checkbox. Quota per workspace: 100 active links default, configurable enterprise. Компоненты: `apps/viewer`, `@rox-one/shared/sharing`, retention Worker с tier-migration logic. ## Зачем 24h недостаточно для архивных кейсов (handoff между командами, customer-onboarding материалы). 7d/30d покрывают эти кейсы с осознанным trade-off на безопасность. Cold-tier для 30d снижает R2 storage cost на ~80%. ## Источники вдохновения - [databendlabs/databend](https://github.com/databendlabs/databend) — cloud-native analytical warehouse с tier-migration - [OneUptime/oneuptime](https://github.com/OneUptime/oneuptime) — full-stack monitoring с retention patterns - [agisota/zrok](https://github.com/agisota/zrok) — secured tunnel для long-lived sharing ## 🔗 Linear - [PZD-431](https://linear.app/kuhjie/issue/PZD-431) — backing ticket

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🧑‍🤝‍🧑

Compounding & Collaboration

Date

About 19 hours ago

Author

agi

Subscribe to post

Get notified by email when there are changes.