I created a custom post type ( Customers ) and i want to show posts of this post type just to the users with Customer role.
there is any way without or with plugin?
You could use
register_post_type_args filter to change
false depending on your users role.
if you want to use the plugin. Advance Access manager. https://wordpress.org/plugins/advanced-access-manager/
The plugin basically allows you to not only manage access to the backend and front for specific posts. But also hide menu and dashboard entries.