From 160b792a6f3c935f8ab4132bc37937201bae7195 Mon Sep 17 00:00:00 2001
From: Charles Nepote
Date: Mon, 9 Sep 2024 11:54:26 +0200
Subject: [PATCH] feat: Open folksonomies for all connected users (#10771)
Fix https://github.com/openfoodfacts/openfoodfacts-server/issues/10360
Will make some issues more annoying:
* https://github.com/openfoodfacts/folksonomy_api/issues/128
* https://github.com/openfoodfacts/openfoodfacts-server/issues/6169
---------
Co-authored-by: Open Food Facts Bot
---
html/js/folksonomy.js | 4 +++-
templates/web/common/includes/folksonomy_script.tt.html | 4 ++--
.../page_crawler/crawler-access-product-page.html | 1 +
.../page_crawler/normal-user-access-product-page.html | 1 +
.../product_read/get-existing-product.html | 1 +
.../expected_test_results/web_html/fr-product-2.html | 1 +
.../expected_test_results/web_html/fr-product.html | 1 +
.../expected_test_results/web_html/world-product.html | 1 +
8 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/html/js/folksonomy.js b/html/js/folksonomy.js
index 644e9d9fe8df4..851466bcd4d8c 100644
--- a/html/js/folksonomy.js
+++ b/html/js/folksonomy.js
@@ -155,8 +155,10 @@ function displayFolksonomyPropertyValues() {
'Personalized properties (beta)
' +
'' +
"These properties are created and filed by users for any kind of usages. Feel free to add your own. " +
+ "The properties and values you create must be factual. " +
"You can dive into the list of properties already used by the community " +
- "or explore the properties' documentation and its search engine.
" +
+ "or explore the properties' documentation and its search engine. " +
+ "
" +
"Be aware the data model might be modified. Use at your own risk.
" +
"This is brought by the folksonomy engine project. Don't hesitate to participate or give feedback.
" +
'