thank you for your response. But this not work for me. I have a group of people that need to access the posts by role. Are the employees of a company. But, into this site is possible that exists posts created by other persons (out of company) that uses another role profile.

So, if your plugin no have this feature, may be a good idea to do because groups os users could share each other some posts, as in my case.

If you have another suggestion of how to do it, please, share.