This had been working, so I'm not sure what we've done (or where to look for a culprit if it was another update/change to something else). We'd set up permissions-based restrictions based on the content type (so, about 6 content types had full permissions for "everyone" and this was reflected in the search config page). Now it only works if we give anonymous full permissions to "search all content types" and it does override the individual content type permissions (as it says it will). Otherwise, search always returns 0 results. I've tried a bunch of changes/tweaks (search display on/off, turn off advanced search, only use advanced, changing "only of the type" settings, re-indexing the site, etc.).

There are no issues for admins. Thoughts?

****EDIT****

Actually, it appears that this is not working properly for admins, either. A search done by admins shows only content that requires full permissions. Any content type that has individual permissions does not work.

Comments

Alan D.’s picture

The module does this:

if (NOT 'Search all content types')
  foreach (content type)
    if (NOT 'Content Type label: Search content of this type')
      Add restriction to not display this type

So "Search all content types" bypasses the restrictions entirely, while the individual ones re-add the search permissions.

What other modules are you using to restrict node access?

Alan D.’s picture

Issue summary: View changes

update

Alan D.’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Closed due to lack of feedback.