Search FAQs restrictions

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jangerhart
Posts: 4
Joined: Tue Apr 14, 2020 5:50 pm

Search FAQs restrictions

Post by jangerhart »

Hello,

if the user starts a blank search (basically don't type anything and press the magnifier icon), the list of all FAQs appears included the piece of content. Is there any option how to:

1. Show only FAQs in the search list where the user is permitted on?

or

2. disappear the content from the Search list of FAQs?

We are using PHPmyFAQ for multiple users and groups and the content has to be restricted for each group. I went through settings multiple times and didn't find any option on how to change this behavior.

Please advice

Thanks

Jan
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search FAQs restrictions

Post by Thorsten »

Hi,

which version do you use? Do you use the database only search or Elasticsearch?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jangerhart
Posts: 4
Joined: Tue Apr 14, 2020 5:50 pm

Re: Search FAQs restrictions

Post by jangerhart »

Hi,

we have 3.0.1 version and using only database search.

thanks

Jan
jangerhart
Posts: 4
Joined: Tue Apr 14, 2020 5:50 pm

Re: Search FAQs restrictions

Post by jangerhart »

Hi,

I will consider to setup Elasticsearch, but can you please provide me some example, where this option is already in place? I would like to check if that will help us or not. From the description, I am not able to decide whether yes or no.

Many many thanks in advance

Jan Gerhart
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search FAQs restrictions

Post by Thorsten »

Hi,

usually we filter all results due to the user permissions before showing the results to the user. If it's not working, we have a bug.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jangerhart
Posts: 4
Joined: Tue Apr 14, 2020 5:50 pm

Re: Search FAQs restrictions

Post by jangerhart »

Hi,

unfortunately this is our situation. The user see result list with all FAQs containing the keyword, even if he/she don't have access to specific category/FAQ. I tested it again and behaviour is same.

Does it mean I don't need setup Elastisic search? Would behaviour stay same?

Jan
Post Reply