You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Import search returns nodes from channels the user can't view #6419
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Import search (/api/search/search) runs over every published channel in the full-text index. It limits results to channels the user can view only when the client sends channel_list, so any logged-in user can list the nodes of published channels they haven't been given access to in Studio.
Complexity: Low Target branch:hotfixes
Context
SearchContentNodeViewSet uses ContentNodeFullTextSearch.objects.all() as its queryset. The detail route uses the same queryset.
Reproduced: a user with no access to an unlisted published channel got its nodes, with ids, kinds and original_channel_name, from ?channel_id__in=<its id>, from ?kinds=topic, and from ?keywords=… without channel_list.
Activity