This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
suitedesk/sites/all/modules/search_restrict
2017-07-26 13:40:54 +02:00
..
search_restrict_apache_solr New module 'Search Restrict' 2017-07-26 13:40:54 +02:00
LICENSE.txt New module 'Search Restrict' 2017-07-26 13:40:54 +02:00
README.txt New module 'Search Restrict' 2017-07-26 13:40:54 +02:00
search_restrict.info New module 'Search Restrict' 2017-07-26 13:40:54 +02:00
search_restrict.install New module 'Search Restrict' 2017-07-26 13:40:54 +02:00
search_restrict.module New module 'Search Restrict' 2017-07-26 13:40:54 +02:00

********************************************************************
                     D R U P A L    M O D U L E
********************************************************************
Name: Search Restrict
Author: Robert Castelo <www.codepositive.com>
Drupal: 6.x
********************************************************************
DESCRIPTION:

Restrict by role who can search for each content type.

Approach of this module is to re-write the search query, so that 
content is indexed and available as search results to users in role(s) 
that have permissions to view it, but not displayed to other roles.

********************************************************************
PREREQUISITES:

Search module (Drupal core).



********************************************************************
INSTALLATION:

Note: It is assumed that you have Drupal up and running.  Be sure to
check the Drupal web site if you need assistance.  If you run into
problems, you should always read the INSTALL.txt that comes with the
Drupal package and read the online documentation.

1. Place the entire module directory into your Drupal directory:
   sites/all/modules/
   

2. Enable the module modules by navigating to:

   administer > build > modules
     
  Click the 'Save configuration' button at the bottom to commit your
  changes. 



********************************************************************
USAGE:

On the configuration form of each each content type set the role(s)
that can search for nodes of that content type.


********************************************************************
TO DO

Write tests


********************************************************************
ACKNOWLEDGEMENT

Developed by Robert Castelo for Code Positive <http://www.codepositive.com>
Initial development sponsored by Greenpeace UK <http://www.greenpeace.org.uk>

Drupal 6 update by:
Hans Nilsson (Blackdog) <http://drupal.org/user/110169>
Daniel F. Kudwien (Sun) <http://drupal.org/user/54136>