Entire Forum Search and Permissions
Hello All.
I ran across something with search and I am curious if this is normal behavior. It actually kind of surprised me. I had a look in the wiki and other places for more information and did not find info to my question.
I am building up a forum with say 10 categories all with various number or boards in them.
The members of each Category do not have access to the other categories
Each member is in its own member group and the Member group is given permission to the category and boards in that category.
So, all this works fine when I check users across categories (as in the members can only see their boards etc), but, what surprised me is that a member can do a search entire forum and see results from the other categories they do not have access to. Of course, if they click on it, they are denied access, but, I would not want anyone to be able to see the text or topics of the other categories or boards they are not members of.
Have I set up something wrong here? Or missed a setting?
Version Information:
This version: ElkArte 1.1.1
Current version: 1.1.1
Running on an ubuntu 16.04 server with php7 and mariadb 10.1
Please let me know if you need more info or if I am not clear on something.
Thank you
Re: Entire Forum Search and Permissions
Reply #6 –
Okay, I can confirm the bug.
It can be classified as security issue, but since it's already in the public there is not many reasons to hide it.
I'm working on finding the root cause.
I'll try to prepare a fix and push it in the release of tomorrow evening.
Re: Entire Forum Search and Permissions
Reply #7 –
As a stop-gap measure I would suggest to go to admin > forum > search > search methods and to select "Fulltext index" or (if you cannot select the first because not supported by your configuration) to create a custom index and then use "custom index". This second option will consume more database space.
Re: Entire Forum Search and Permissions
Reply #12 –
Great and thanks for confirming!
Search is always a p.i.t.a. xD
Re: Entire Forum Search and Permissions
Reply #13 –
Thank you for looking into it so quickly.
I am testing the different search options as well as some of the Search Method options. All seems to be working ok so far.
I may enable the Fulltext index and other options on my test server tomorrow just to see how it goes.
Appreciate it and will message back if i run into anything as I test things out.
Thanks again for all the work you guys do here.
All the best!