Hide "user profiles" tab from roles that don't have permission to use it

aharown07 - May 24, 2009 - 02:35
Project:Profile Plus
Version:6.x-1.1
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Roles w/o profileplus permission still see "User Profiles" tab on the search results screen. But when they click it, they get "search yielded no results." (Users tab works in these cases and shows usernames).

Would rather not clutter the form w/a tab they can't use. Is there a way to remove it just for roles w/o permission?

 
 

Drupal is a registered trademark of Dries Buytaert.