Answers to private questions showing up in search

5.93K viewsIssues
1

Hi! We just installed AnsPress and are testing things out and found some odd functionality.

It looks like if a user posts a Question and marks it as private it correctly hides that question from both the navigation and the search. UPDATE: it looks like the question can be found through search as well.

However, if an admin answers that question I would have expected that answers to be hidden as well. As it is, however it looks like a user not involved in the question can see the answers in the search (though the link does 404 if you try to click on it).

Am I missing a setting or is this just not working as I expect it to?

Answered question
0

if your search plugin (or even AnsPress’s own search index) queries across all ap_answer posts, those private answers can appear as results — though clicking them 404s, since the parent question is private. So this isn’t a “bug” per se — more of an incomplete privacy cascade that most site owners don’t notice until testing. @Geometry Dash Lite

Answered question
You are viewing 1 out of 3 answers, click here to view all answers.