Skip to content

Commit

Permalink
[#2832] Rx.mission/Venray: Also show documents with the status archived
Browse files Browse the repository at this point in the history
  • Loading branch information
alextreme committed Oct 21, 2024
1 parent 881c2ea commit ff5091f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/open_inwoner/openzaak/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ def is_info_object_visible(
"""
Test if a InformatieObject (case info object) should be visible to the user.
We check on its definitive status, and a maximum confidentiality level (compared the
ordering from the VertrouwelijkheidsAanduidingen.choices)
We check on its definitive or archived status, and a maximum confidentiality
level (compared the ordering from the VertrouwelijkheidsAanduidingen.choices)
"""
if info_object.status != "definitief":
if info_object.status not in ["definitief", "gearchiveerd"]:
return False

return is_object_visible(info_object, max_confidentiality_level)
Expand Down

0 comments on commit ff5091f

Please sign in to comment.