Skip to content

Commit

Permalink
[TGA-41] ContentAPI: Remove default filtering by subscriber (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkLark86 authored Mar 14, 2023
1 parent 19d28c5 commit 680816b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/tga/content_api/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ def _set_request_filters(self, req, filters: List[Any]):

req.args["filter"] = json.dumps(req_filter)

def _is_internal_api(self):
"""Override this check, to remove filtering by subscribers used when the item was published"""

return False


def init_app(app):
endpoint_name = "items"
Expand Down

0 comments on commit 680816b

Please sign in to comment.