My users have permission to view other users' accounts. Only the "View" tab page. This is exactly what I want.
On the user account, by default, there are three tabs:
View
Shortcuts
Edit
If I am user A and I go to my account, I see the tabs. If I'm user A and I go to user B's account, I don't go to his tab (it makes sense).
Now if I create a page view (e.g. bookmarks) with a menu tab, for user accounts. If I'm User A and go to User B's account, I can see the "Bookmarks" tab.
How to hide tabs on user accounts except current user account?
There is no permission to do this.