Post visibility based on user role

How can I make it so that new posts will be automatically private, except visible to other users which have the same user role as the post author?

Topic private user-roles posts Wordpress

Category Web


You can see this WordPress repository plugin. Advanced Access Manager

This Plugin's restricts role, users, author to post/page dashboard access etc.

I hope this plugin will help you.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.