diff --git a/product_portfolio/templates/product_portfolio/product_details.html b/product_portfolio/templates/product_portfolio/product_details.html index 6f4f11cd..bdc5be5f 100644 --- a/product_portfolio/templates/product_portfolio/product_details.html +++ b/product_portfolio/templates/product_portfolio/product_details.html @@ -173,9 +173,8 @@ {% block javascripts %} {{ block.super }} - {% if has_edit_productpackage or has_edit_productcomponent %} - - {% endif %} + {# Always render the CSRF token: required by the vulnerability analysis form, even on read-only products #} + {% include 'product_portfolio/includes/product_hierarchy.js.html' with relations_feature_grouped=tabsets.Hierarchy.fields.0.1.relations_feature_grouped %} {% if tabsets.Owner.extra %} @@ -346,7 +345,9 @@ {% if purldb_enabled %}