[request] Fix conflicting info on fs scopes #2901
Labels
discuss
Does this require further discussion before it's dealt with?
enhancement
Does it add or improve content?
Question you want answered
How do I allow to access a file?
Where did you look for an answer?
I was reading a page about File System plugin in the Guides section, where I got to the "Security" section. The section pointed me to fs javascript reference, where an example of adding allowed scopes looks like this:
Note that there was no indication of which file to add this snippet to.
I unsuccessfully tried inserting this snippet into
tauri.conf.json
, after which I had to google the right way. It turned out that at the very bottom of the File System guide page there is a section about permissions, which did specify which file to tweak and does seem to work.So, as I understand it, the snippet in the fs reference page is plain wrong
Page URL
https://v2.tauri.app/plugin/file-system/#examples
Additional context
No response
Are you willing to work on this yourself?
The text was updated successfully, but these errors were encountered: