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

fix: allow double -- in permissions as command can have double __ #12884

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

oscartbeaumont
Copy link
Member

@oscartbeaumont oscartbeaumont commented Mar 3, 2025

A command in Tauri can technically be called Something__Else (as it's a valid Rust identifier) which would map to allow-Something--Else in the default.toml permissions file, however the permissions file rejects the double -- so in practice it's impossible to grant the permission to run a command with a __ in it's name.

@oscartbeaumont oscartbeaumont requested a review from a team as a code owner March 3, 2025 14:42
Copy link
Contributor

github-actions bot commented Mar 3, 2025

Package Changes Through d88aa2d

There are 6 changes which include tauri-utils with patch, tauri with minor, @tauri-apps/api with minor, tauri-runtime-wry with minor, tauri-cli with patch, @tauri-apps/cli with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.3.0 2.4.0
tauri-utils 2.2.0 2.2.1
tauri-bundler 2.2.4 2.2.5
tauri-runtime 2.4.0 2.4.1
tauri-runtime-wry 2.4.1 2.5.0
tauri-codegen 2.0.5 2.0.6
tauri-macros 2.0.5 2.0.6
tauri-plugin 2.0.5 2.0.6
tauri-build 2.0.6 2.0.7
tauri 2.3.1 2.4.0
@tauri-apps/cli 2.3.1 2.3.2
tauri-cli 2.3.1 2.3.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📬Proposal
Development

Successfully merging this pull request may close these issues.

2 participants