The tenantId on a ReportPackage is set automatically from your session when the package is created. It ensures that your regulatory reports — which may contain sensitive site and contamination data — are not accessible to other organizations using Piper. Because a ReportPackage can be rendered to a PDF and submitted to a regulatory agency, proper tenantId isolation is especially critical. All sections, figures, and versions belonging to the package inherit this tenant context.
Technical section
Data model, API, and internals — visible to developers.
