Skip to content

Commit

Permalink
feat: keep custom test with default beahviour
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Sep 16, 2024
1 parent bd7c87e commit a29df93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def can_see_in_catalog():
_has_catalog_visibility(courselike, CATALOG_VISIBILITY_CATALOG_AND_ABOUT)
or (
_has_staff_access_to_descriptor(user, courselike, courselike.id)
and getattr(settings, "STAFF_CAN_SEE_IN_CATALOG", False)
and getattr(settings, "STAFF_CAN_SEE_IN_CATALOG", True)
)
)

Expand Down

0 comments on commit a29df93

Please sign in to comment.