I created a HTML table view to show the current "listings" the user has created. I have everything set up (I think), but I am looking in how I can restrict access. The view is suppose to be a tab on the user profile page with the title of "My Listings". I need to only show it to the profile owner and also make it so people can't access it via URL itself (bypassing the tab)
I remember this was doable back in the Drupal 6 days, but my memory fails me.
Path: /user/%/listings (contextual filter % is set to UID)
So if user 1 goes to /user/1/listings They should see a tab next to View | Edit that says "My Listings"
But if user 4 goes to /user/2/listings they shouldn't see the "My Listing" tab. But if they go to /user/4 they should see their "my listings" tab.
Thanks for the help.