I created a test category called Test added a test product and set category permission to Logged in user only.
so the category and product shouldn’t be visible to non-logged-in customers. but when I use Search product it shows in Search Results.
and this is my category permission configuration.
Any Idea, Thanks.