Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI have the same issue and I think it is actually more of a bug than a request for a new feature. After all, roles without permission to search user profiles should not even see the tab in the first instance. Furthermore, I can confirm that this issue also affects D5, so it would be great if it could be addressed for both versions.
Comment #2
James Marks CreditAttribution: James Marks commentedFixed in 5.x-1.x-dev, 6.x-1.x-dev and 6.x-2.x-dev.
James
Comment #4
bradtanner CreditAttribution: bradtanner commentedIs there a patch for this that can be applied to 6.x.-2.x-dev to hide the "Users Profile" tab for users without the necessary permissions?