Dear All<br>In Drupal 7, one can hide the main menu items with proper permission setting.<br><br>In a typical job recruitment site, I have 4 kind of roles<br><br>1. Anonymous users<br>2. Authenticated users<br>3. Employers<br>
4. Administrator<br><br>I want to show some menu , menu-items to only authenticated users but not to employers.<br>With current setup and permission tweak this is not possible. <br><br>Lets take an example. I have a job_search module. It provides only two pages for job search. <br>
The first page is just a form, and other page just shows result. Lets say I have defined permission 'job search' in hook_permission of job_search module.<br>For both these pages, the access argument given (in menu hook), is 'job search'.<br>
<br>Say for authenticated users, I have set the permission for 'job search'. So far so good.<br>The authenticated users can see the job search pages and corresponding result page.<br><br>Now how do I stop users with role seeing job search menu / menu-items .<br>
Please help somebody.<br><br>Thanks<br>kamal<br><br><br><br><br><br><br><br><br><br><br><br>