Skip to content

Commit

Permalink
add visible to response (#243) (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mainlyIt authored Oct 28, 2024
1 parent 496b48b commit 8612ad8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vespadb/observations/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"eradication_result",
"wn_id",
"wn_validation_status",
"visible",
]

# Define the fields that authenticated users can read
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8612ad8

Please sign in to comment.