tauri-apps / tauri-apps/tauri-docs
[feat] An fs:scope that wraps all permisions at once
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 1.1k
- Forks
- 887
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 48
Description
Describe the problem
I had to make a like 50 permisions like this:
{
"identifier": "fs:allow-appdata-write",
"allow": [
{
"path": ""
},
{
"path": "/"
},
{
"path": "/**/"
}
]
},
Just to be able to remove files.
Describe the solution you'd like
Something like:
{
"identifier": ["fs:scope-1", "fs:scope-2"],
"allow": [
{
"path": ""
},
{
"path": "/"
},
{
"path": "/**/"
}
]
},
or
{
"identifier": "fs:all",
"allow": [
{
"path": ""
},
{
"path": "/"
},
{
"path": "/**/"
}
]
},
Alternatives considered
No response
Additional context
PD: I love tauri
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are named. Start by locating the existing fs permission identifiers and scope configuration, then determine how the requested grouped permissions should be represented; done means one scope can cover the filesystem permissions and path patterns shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100