How to prohibit access to a view if the user is not the user in the account path?

by user8941219   Last Updated November 15, 2017 02:07 AM

I created a page view to display forms created by the user on his account.

I added a "Submitted by" context filter to this view to filter the user ID of the logged in user.

My problem :

When I disconnect and reload the page, the view is still displayed. How to prevent access to this page if the user does not match the user of the account path ?

enter image description here

enter image description here

Tags : views 8

Related Questions

Alter the moderation state in the Content view Drupal 8

Updated February 28, 2018 21:07 PM

Group items in Views by value in Field Collection

Updated July 20, 2015 13:03 PM

List of referenced entities appended to a node

Updated January 12, 2017 08:03 AM