We have private nodes. Nodes that are just visible for logged in users. These nodes are setup to use a private filesystem. These "private" nodes can also become public if an article is moved to the front page for example - or when an editor decides, that the content is not just for members any longer.
I assume all images uploaded before via the private file system setup now will not work any longer.
I guess I could check every single file via hook (if there is one) and check the access settings for the parent entity (node). But I am pretty sure I am not the first person, that needs to switch content from private to public. There must be a more solid way.
I could not find any information regarding this in the documentation.
Whats Drupals way to deal with dynamic (public / private) states and its media?