eZ Community » Forums » Setup & design » Why can't users search in site if not...
expandshrink

Why can't users search in site if not logged in?

Why can't users search in site if not logged in?

Thursday 14 January 2016 12:47:52 pm - 1 reply

I have been given admin to a ezpublish 2014-6 site. Before when you tried to search there was a popup for login. I have removed that popup now but still I can not search if I am not logged in. I am always taken to the home page if I search and not logged in. I guess this must be some logic in a template but do not know where to look. Or is there a setting in the site.ini.append.php in the override folder that I missed? Or is the search restricted from the user pages in admin? I can not find anything there for controlling searching.

Monday 13 March 2017 1:05:44 am

Hello Asle,

Welcome to the eZ Community!

First a few questions ...

Question #1: Are you able to search correctly when logged in to the user or admin siteaccess.

Question #2: Are you logging in and searching with a non-admin user account? This answer matters greatly.

Question #3: Have you reviewed the role policies for the role the normal or non-privleged users? This also includes the anonymous user role!

It sounds like the anonymous user role might not have a role policy which grants the right to use the content/search module view on possibly either siteaccess (admin or user).

You many need to add the required role policies for your roles to grant this access to both authenticated and anonymous users.

Please feel free to share more information about your roles and their policy rules as it sounds like you might have some bit of customization already in play which might confuse things a little.

I hope this helps!

Cheers,
Heath

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from