tauri-apps / tauri-apps/tauri-docs

[feat] An fs:scope that wraps all permisions at once

Open
#2,869 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.