Is there a way to get all posts that are accessible for the current user?
I have some plugins that are e.g. building a image mosaik of the images the user have access to.
To be able to restrict this plugin to the images/posts the user have access to, I need a list of posts (or at least categories) the user have access to.
After searching the sources, I couldn't find a function delivering the information.
Could someone provide a solution for this or give some hints how to handle this issue?
Thanks in advance!