We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f359742 commit 323eb21Copy full SHA for 323eb21
src/open_inwoner/openzaak/utils.py
@@ -34,10 +34,10 @@ def is_info_object_visible(
34
"""
35
Test if a InformatieObject (case info object) should be visible to the user.
36
37
- We check on its definitive status, and a maximum confidentiality level (compared the
38
- 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)
39
40
- if info_object.status != "definitief":
+ if info_object.status not in ["definitief", "gearchiveerd"]:
41
return False
42
43
return is_object_visible(info_object, max_confidentiality_level)
0 commit comments