Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] Include list of all core permissions in documentation #2966

Open
1 task
Simon-Laux opened this issue Nov 11, 2024 · 0 comments
Open
1 task

[request] Include list of all core permissions in documentation #2966

Simon-Laux opened this issue Nov 11, 2024 · 0 comments
Labels
discuss Does this require further discussion before it's dealt with? enhancement Does it add or improve content?

Comments

@Simon-Laux
Copy link

Simon-Laux commented Nov 11, 2024

Question you want answered

where can I find list of all core permissions?

Where did you look for an answer?

I started locking down my app with permissions, but was unable to find a list of all core permissions on the documentation page.

Basically I started browsing through the sites in roughly this order:

  • Guides/Security/Capabilities
  • Guides/Develop/ConfigurationFiles
  • Guides/Security/Command Scopes
  • Guides/Security/Permissions
  • Reference/Security/*
  • Reference/Configuration

At first I had a feeling that the documentation about permissions would be geared more towards plugin and tauri(core) developers than users, but then again just a feeling, I must admit that I just skimmed over the content and didn't study it.

Page URL

No response

Additional context

Then I asked on discord and got this link from @FabianLars: https://github.com/tauri-apps/tauri/tree/dev/crates/tauri/permissions

He asked me to create this issue here.

secdude suggested running:

tauri permission list

Even though it is not that readable in console it is still a good to know option IMO, so documentation site should also have it.

I think a mention in https://tauri.app/security/capabilities/ makes sense and additionally a page with all permissions on in the References tab.

PS: At first it was also not very clear to me how the capability / permission system works, probably I haven't read enough, so I didn't understand where to put the permissions and also didn't understand that core permissions need to be prefixed with core:. But that's not enough info for a concrete issue yet, also I don't have any suggestions yet.

Are you willing to work on this yourself?

  • I want to work on this myself
@Simon-Laux Simon-Laux added discuss Does this require further discussion before it's dealt with? enhancement Does it add or improve content? labels Nov 11, 2024
@github-project-automation github-project-automation bot moved this to 🪵 Backlog in Documentation Nov 11, 2024
FabianLars added a commit that referenced this issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Does this require further discussion before it's dealt with? enhancement Does it add or improve content?
Projects
Status: 🪵 Backlog
Development

No branches or pull requests

1 participant