Little bit correction in last line.<br><br><br><div class="gmail_quote">On Sat, Nov 17, 2012 at 5:59 PM, Kamal Palei <span dir="ltr"><<a href="mailto:palei.kamal@gmail.com" target="_blank">palei.kamal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 'employer' seeing job search menu / menu-items .<br>
Please help somebody.<br><br>Thanks<span class="HOEnZb"><font color="#888888"><br>kamal<br><br><br><br><br><br><br><br><br><br><br><br>
</font></span></blockquote></div><br>