I have noticed that some apps are accessing/reading/writing in the storage without asking for permissions. Note that I am not talking about apps' internal folder, but the shared storage located at /storage or /storage/emulated/0.
For example, browsers like Chrome, Brave, etc. can download files without asking for storage permission. While Firefox does have to gain permission before the download starts (I am aware that Chrome already has permission since it's built in, but Brave does not have it).
On the other hand, I have downloaded a video player called Just Video Player, it's simple and open-source, and I like it. It also does not ask for storage permission. I go to any file manager, click on a video file, select Just Video Player, and it starts playing. How does that happen?
I know I may be asking for information which is too technical for me or something, but I need to know.