Mac Temporary Permission


Hi there,

I am trying to develop an electron app to be submitted to the Apple store. I wonder if anyone could help me explain how the temporary permission works.

I have managed to get permission to a single file by the Open Dialogue. But my app needs to parse a large collection of files specified by the user. But by selecting a directory in the open dialogue, it doesn’t seem to give permission to all the files in the subdirectory.

Is that the expected behaviour? And how would I get permission to all files under a directory selected?