Post visibility based on user role

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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)