Whilst the various .tpl files associated with search do a check on the $prefs.feature_XXX when showing the drop down menu for refining the search there is no check on whether the individual user has the privilege to use the feature. Therefore menu options can be shown that are not appropriate.
Also the drop down menus are slightly different for the three different .tpls files
No longer relevant - 15th June 2013
mod-search_box.tpl
tiki-searchresults.tpl
tiki-searchindex.tpl
updated and attached as proposed patch
-----------------
I do not agree with the test about permission as a general solution.
For instance - tiki_p_view can not be set globally, but some pages can have special permissions.
Perhaps we need a global setting. But this is not general at all.
Otherwise I agree with the missing tracker - and calendar options. I committed it. Thanks
sylvie
doh! yep you are right this isn't a general solution - I guess I have been steered by my own use of tiki where I avoid using individual permissions and actually I don't let clients/users do that except where it is unavoidable. Instead I always try to use Categories that implement an agreed security policy (for access control that is).
On balance I think the patch could suit some users since showing Feature buttons that the user may not even know about, may be a 'greater problem' than missing some items in a search that have had their permissions individually set.
Need to think harder though since a generic solution should probably still not show the Feature buttons but should include individually 'permitted' items. hmmm tricky!
Geoff
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.