From 76982814dc84ee49715c92a6da069c2fb6af6589 Mon Sep 17 00:00:00 2001 From: Matus Kasak Date: Thu, 23 Jul 2026 14:09:36 +0200 Subject: [PATCH 1/2] ZCU-PUB/Enable per-bitstream embargo badge (item.bitstream.showAccessStatuses) The embargo-date badge (dspace-customers#823, FE #1378/#1390) is gated behind item.bitstream.showAccessStatuses, which defaults to false in default-app-config.ts. Set it to true in config.yml so the badge renders on redeploy. Safe now that the backend accessStatus endpoint is deployed for zcu-pub (DSpace#1377); the frontend fails closed without it. Co-Authored-By: Claude Opus 4.8 (1M context) --- config/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/config.yml b/config/config.yml index 164fd15d865..ef18495b553 100644 --- a/config/config.yml +++ b/config/config.yml @@ -186,3 +186,11 @@ languages: - code: uk label: Yкраї́нська active: false + +# Item view configuration +item: + bitstream: + # Per-bitstream embargo-date badge in the Item View (dspace-customers#823). + # Enabled now that the backend accessStatus endpoint is deployed (DSpace#1377). + # The frontend fails closed if the endpoint is missing, so this is safe. + showAccessStatuses: true From 47c1b18a9096c84db496d81faa177eda8bdbd8ad Mon Sep 17 00:00:00 2001 From: Matus Kasak Date: Thu, 23 Jul 2026 14:38:08 +0200 Subject: [PATCH 2/2] Simplify embargo badge comment --- config/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/config.yml b/config/config.yml index ef18495b553..cdf957944f8 100644 --- a/config/config.yml +++ b/config/config.yml @@ -190,7 +190,5 @@ languages: # Item view configuration item: bitstream: - # Per-bitstream embargo-date badge in the Item View (dspace-customers#823). - # Enabled now that the backend accessStatus endpoint is deployed (DSpace#1377). - # The frontend fails closed if the endpoint is missing, so this is safe. + # Per-bitstream embargo-date badge in the Item View showAccessStatuses: true