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 » Sun Jun 07, 2020 10:02 pm

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: 15051
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search FAQs restrictions

Post by Thorsten » Wed Jun 10, 2020 11:33 am

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 » Tue Jun 16, 2020 8:25 am

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 » Fri Jun 19, 2020 12:49 pm

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: 15051
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search FAQs restrictions

Post by Thorsten » Fri Jun 19, 2020 1:57 pm

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 » Thu Jun 25, 2020 3:03 pm

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