From b8d04c54f7c113ded9c287deceaae6f794f5058c Mon Sep 17 00:00:00 2001 From: Adriano Dal Pastro Date: Fri, 5 Jun 2026 10:26:15 +0000 Subject: [PATCH] fix(measure): hide per-task "Visualizza Task" link for non-Maker operators On the task list, each task card exposed a "Visualizza Task" link that jumps straight into an individual task. Pure operators (MeasurementTec without Maker) should follow the guided flow and start only with AVVIA. Gate the per-task link behind the Maker role; admins/makers who also measure keep it. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/frontend/flask_app/templates/measure/task_list.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/flask_app/templates/measure/task_list.html b/src/frontend/flask_app/templates/measure/task_list.html index db5cad5..868a62b 100644 --- a/src/frontend/flask_app/templates/measure/task_list.html +++ b/src/frontend/flask_app/templates/measure/task_list.html @@ -187,7 +187,8 @@ - + + {% if current_user and 'Maker' in current_user.get('roles', []) %}