Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
32 lines
1.4 KiB
Python
32 lines
1.4 KiB
Python
"""ReelForge data-governance services (Compliance / GDPR / SOC2, Epic 5).
|
|
|
|
Native data-governance logic layered over the existing model (no heavy OSS
|
|
fork) — it reuses the Epic 1 audit trail (:mod:`app.services.audit`), the RBAC
|
|
decision engine (:mod:`app.services.rbac`), Cloudflare R2
|
|
(:mod:`app.services.storage.r2`) and the Celery beat scheduler.
|
|
|
|
Four crisp, strictly-scoped capabilities:
|
|
|
|
* :mod:`app.services.compliance.export` — assemble and hand back a COMPLETE,
|
|
requester-scoped data package (GDPR Art. 15 / 20) via a short-lived, private,
|
|
owner-scoped signed R2 URL.
|
|
* :mod:`app.services.compliance.erasure` — ANONYMIZE a user's PII in place
|
|
(GDPR Art. 17) while preserving referential integrity and legally-required
|
|
financial / audit records; idempotent and audited.
|
|
* :mod:`app.services.compliance.retention` — enforce per-workspace retention
|
|
windows (the Celery-beat sweep) and get/set a workspace's policy
|
|
(``workspace.settings`` RBAC-gated).
|
|
* :mod:`app.services.compliance.consent` — record and read a user's consent
|
|
decisions.
|
|
|
|
HARD invariant across every entrypoint: an export or erasure returns / affects
|
|
ONLY the requesting user's (or their RBAC-gated workspace's) data — no path can
|
|
ever reach another user's rows.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from app.services.compliance import consent, erasure, export, retention
|
|
|
|
__all__ = ["consent", "erasure", "export", "retention"]
|