Supposing I want to add a tab to my main menu but I only want the user 'admin' or users of the group 'admin' to be able to see the tab. Can this be done? I'm trying to avoid a situation where the tab is visible to all users but certain users get an access denied.
I am pretty sure that is the default behavior. *
Ryan LeTulle,* Web Developer
personal: bayousoft.com http://www.bayousoft.com twitter: @bayousoft http://twitter.com/bayousoft
http://twitter.com/bayousoft*"Be the change you want to see in the world." * Mahatma Gandhi
On Mon, Feb 28, 2011 at 3:48 PM, Eric Sepich sepotovich@gmail.com wrote:
Supposing I want to add a tab to my main menu but I only want the user 'admin' or users of the group 'admin' to be able to see the tab. Can this be done? I'm trying to avoid a situation where the tab is visible to all users but certain users get an access denied.
-- [ Drupal support list | http://lists.drupal.org/ ]
How are you adding the tab? In code (hook_menu()), using Views or Panels, or something else?
If a user does not have access to view a given menu item (which includes tabs), they won't see links to it (eg, tabs).
--Larry Garfield
On Monday, February 28, 2011 3:48:09 pm Eric Sepich wrote:
Supposing I want to add a tab to my main menu but I only want the user 'admin' or users of the group 'admin' to be able to see the tab. Can this be done? I'm trying to avoid a situation where the tab is visible to all users but certain users get an access denied.