I just noticed this in my swift fork.
If the user uses the recents dropdown in the file picker, then they can select a folder which is not the requested one.
This causes an incorrect 'true' return in the requestPermission flow
My fix is to double-check on select
https://github.com/ConfusedVorlon/SwiftySandboxFileAccess/blob/2.0.0/SwiftySandboxFileAccess/Classes/SandboxFileAccessOpenSavePanelDelegate.swift
see: func panel(_ sender: Any, validate url: URL) throws
I just noticed this in my swift fork.
If the user uses the recents dropdown in the file picker, then they can select a folder which is not the requested one.
This causes an incorrect 'true' return in the requestPermission flow
My fix is to double-check on select
https://github.com/ConfusedVorlon/SwiftySandboxFileAccess/blob/2.0.0/SwiftySandboxFileAccess/Classes/SandboxFileAccessOpenSavePanelDelegate.swift
see: func panel(_ sender: Any, validate url: URL) throws