You may achieve this by 2 ways:
1) Try my other plugin https://wordpress.org/plugins/view-own-posts-media-only/
2) Use posts/pages edit restrictions add-on of a Pro version:
But do not input that users post IDs as restrictions list.
If you wish that user add new posts add him or to the his role the ‘create_posts’ capability.
In order to restrict him to view his own posts do the following:
– Add to the user or to the his role ‘edit_others_posts’ capability. This will activate ‘edit posts/pages with author user ID (comma separated)’ section at that user profile.
– Input that user ID to that field to restrict him to view/edit just his posts and any other custom posts types, like WooCommerce products, etc.