Files
tenant-registry/internal/server
Sharang ParnerkarandClaude Opus 5.5 e25320297a
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 24m19s
ci / image (pull_request) Skipped
feat(projects): Projekte for documents and product objects
A tenant groups its documents and product objects by one of its own
products (kind product) or a topic such as the CRA (kind topic). Purely
organisational.

- migration 0010: projects (unique name per tenant, ignoring case),
  document_projects, documents.own_document
- GET/POST /v1/tenants/{id}/projects, PATCH/DELETE .../{pid}: the portal
  writes for staff and tenant admins; products read with tenants.read
- GET /v1/tenants/{id}/projects/{pid}/targets: the project's Prüfwerk
  objects from Prüfwerk's platform API (service token), with dashboard links;
  empty and available=false when Prüfwerk cannot answer
- documents: upload with project_ids and own_document, PATCH
  /v1/admin/documents/{doc} to reassign; own documents are published
  without a notification mail
- audit: project.created/updated/deleted, document.updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-29 14:24:12 +02:00
..