ixg_platform/templates/ops
ixgadmin cdefbd010c Serve document and certificate files through a permission-checked download
Media was unreachable from either portal, which is why the certificate button on
the buyer compliance page returned page-not-found and no document row had
anything to click. The cause was structural: the portal and ops hosts proxy
location / to the app with a path prefix, so a stored /media/... URL arrives as
/portal/media/... and matches no route.

Add a download view per portal behind the same role gate as the page that links
to it — buyer-visible documents and published certificates for buyers, anything
the ops list shows for operations — resolving the stored path safely under
MEDIA_ROOT so a traversal or an absolute path is refused. Point the seven
templates that list files at the new routes.

Also add a portal-wide render sweep: nothing in the suite was fetching the ops
or portal pages, so a view could lose its template_name and 500 in front of a
user with every test still green.
2026-09-17 12:44:52 +00:00
..
base_ops.html Add User Guides Viewer (Help Centre) - role-gated wiki help pages 2026-08-07 14:19:49 +00:00
batch_detail.html Serve document and certificate files through a permission-checked download 2026-09-17 12:44:52 +00:00
batch_list.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
capa_detail.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
capa_list.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
coa_review_detail.html Serve document and certificate files through a permission-checked download 2026-09-17 12:44:52 +00:00
coa_review_list.html P99C: compliance automation - CoA auto-generation and EUDR due diligence 2026-08-05 13:58:39 +00:00
dashboard.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
document_list.html Serve document and certificate files through a permission-checked download 2026-09-17 12:44:52 +00:00
esg_list.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
eudr_detail.html Ops templates: show '-' when the acting user is null 2026-09-16 16:39:07 +00:00
eudr_list.html P99C: compliance automation - CoA auto-generation and EUDR due diligence 2026-08-05 13:58:39 +00:00
qc_detail.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
qc_list.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
qc_verify_detail.html Ops templates: show '-' when the acting user is null 2026-09-16 16:39:07 +00:00
qc_verify_list.html Ops templates: show '-' when the acting user is null 2026-09-16 16:39:07 +00:00
shipment_detail.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
shipment_list.html Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00