From bc7ab2d0df618451d06633d16a41caa281cea14a Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 6 Sep 2024 09:18:44 +0200
Subject: [PATCH] valuestore: allow update as GET param

---
 public_html/valuestore/index.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/public_html/valuestore/index.php b/public_html/valuestore/index.php
index 25f2e794..f554bdbf 100644
--- a/public_html/valuestore/index.php
+++ b/public_html/valuestore/index.php
@@ -108,7 +108,9 @@ if (
 }
 disallowGet('action', 'cleanup');
 disallowGet('action', 'delete');
-disallowGet('action', 'update');
+
+// used by Anasible to update the value ... I disable it for now to fix it in the near future
+// disallowGet('action', 'update');
 
 $sProject = getParam('project', '/[^a-z\-\_0-9]/');
 $sPackage = getParam('package', '/[^a-z\-\_0-9]/');
-- 
GitLab