Hiding a tab on a user profile based on the user role
Just under Display content of &quot;No results found&quot; I see Display &quot;Access denied&quot; you need to use that one.
Denied users won't see the tab anymore.
If the display of your view is a page you can even manage the access directly into the &quot;page's parameters&quot; block and restrict the access by user role without using a contextual filter (unless the view really needs one).