From 8612ad8af1fc4a34667bfa6a640a633c9237a226 Mon Sep 17 00:00:00 2001 From: mainlyIt Date: Mon, 28 Oct 2024 18:31:40 +0100 Subject: [PATCH] add visible to response (#243) (#244) --- vespadb/observations/serializers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vespadb/observations/serializers.py b/vespadb/observations/serializers.py index 7484a50..5329251 100644 --- a/vespadb/observations/serializers.py +++ b/vespadb/observations/serializers.py @@ -49,6 +49,7 @@ "eradication_result", "wn_id", "wn_validation_status", + "visible", ] # Define the fields that authenticated users can read @@ -92,6 +93,7 @@ "reserved_by_first_name", "modified_by_first_name", "created_by_first_name", + "visible", ] # Define the conditional fields for authenticated users with specific permissions