Active
Project:
Search Type
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2007 at 12:58 UTC
Updated:
1 Oct 2009 at 15:19 UTC
Hi
Thank you for this very useful module. It has really helped me streamline things as visualized.
But there remains an issue, as all content-types are shown in 'Search For' for all roles. Hence even those content-types that are allowed to be submitted or viewed by a particular role can be searched upon by those who do not have permission to do so.
Is it possible to limit the 'content-types' w.r.t. user roles?
Thanks & Regards
Comments
Comment #1
dtabach commentedIf I correctly recall, the Taxonomy Access module – the 'full' one, not the 'lite' – allows limiting search by role for given terms. You will have to assign a vocabulary , for example, 'searchablity', to the content types you want to hide from certain roles.
Comment #2
ms1 commentedI already have the Taxonomy Access Control module enabled, but it does not limit the searchibility options that shows with this module.
I tried to configure using 'Taxonomy-access' it, but even though I disabled all options for a content-type, I see that the search-option in the dropdown is still available, although I may not get the results on searching, since the access permissions are denied.
But I found that the 'Search-Type' module itself enables the options to limit the content-types in the drop-down for search. This settings can be found (once the module is enabled) at :
admin --> search-settings..
It is not role specific, but still helps me limit the content-type visibilities generically.
Thanks & Regards
Comment #3
nedjoWe could and should at least pass the content type through node_access('view', $type), to ensure the user has access to that type of content.