Thanks to visit codestin.com
Credit goes to github.com

Skip to content

enhance: include permission group permissions in the generated schema#13057

Merged
Legend-Master merged 15 commits into
tauri-apps:devfrom
Legend-Master:default-permission-schema
Mar 23, 2025
Merged

enhance: include permission group permissions in the generated schema#13057
Legend-Master merged 15 commits into
tauri-apps:devfrom
Legend-Master:default-permission-schema

Conversation

@Legend-Master
Copy link
Copy Markdown
Contributor

@Legend-Master Legend-Master commented Mar 23, 2025

  • Add in a #### This default permission set includes the following: for the docs before default permissions
  • Include permission group permissions in the generated schema
  • Also add markdownDescription field to enhance the schema display in vscode

image

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 23, 2025

Package Changes Through 1778723

There are 2 changes which include tauri with minor, tauri-utils with minor

Planned Package Versions

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

package current next
tauri-utils 2.3.0 2.4.0
tauri-bundler 2.3.0 2.3.1
tauri-runtime 2.5.0 2.5.1
tauri-runtime-wry 2.5.0 2.5.1
tauri-codegen 2.1.0 2.1.1
tauri-macros 2.1.0 2.1.1
tauri-plugin 2.1.0 2.1.1
tauri-build 2.1.0 2.1.1
tauri 2.4.0 2.5.0
@tauri-apps/cli 2.4.0 2.4.1
tauri-cli 2.4.0 2.4.1

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


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

My local clippy didn't report this, weird
for default permissions that enables everything
@Legend-Master Legend-Master marked this pull request as ready for review March 23, 2025 05:24
@Legend-Master Legend-Master requested a review from a team as a code owner March 23, 2025 05:24
Comment thread crates/tauri/build.rs Outdated
Comment thread crates/tauri-utils/src/acl/schema.rs Outdated
Comment thread crates/tauri-utils/src/acl/schema.rs Outdated
Comment thread crates/tauri-utils/src/acl/schema.rs Outdated
Comment thread crates/tauri-utils/src/acl/schema.rs Outdated
Comment thread .changes/include-permissions-in-schema.md Outdated
Comment thread .changes/includes-permissions-in-docs.md Outdated
@Legend-Master Legend-Master merged commit a851b65 into tauri-apps:dev Mar 23, 2025
@Legend-Master Legend-Master deleted the default-permission-schema branch March 23, 2025 13:36
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
…tauri-apps#13057)

* enhance: include permissions in default permission description

* Only include in schema

* Remove 'which includes` to tauri's build script

* Also bump utils

* Clippy
My local clippy didn't report this, weird

* Use `which enables all commands`
for default permissions that enables everything

* Extract description into a variable

* Generate permissions with or without description

* Tweak the docs and generate 'which includes'

* Simplify to just `includes`

* Docs change change file

* Put the change in minor

* Update .changes/include-permissions-in-schema.md

Co-authored-by: Amr Bashir <[email protected]>

* Remove unused change file

---------

Co-authored-by: Amr Bashir <[email protected]>
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
…tauri-apps#13057)

* enhance: include permissions in default permission description

* Only include in schema

* Remove 'which includes` to tauri's build script

* Also bump utils

* Clippy
My local clippy didn't report this, weird

* Use `which enables all commands`
for default permissions that enables everything

* Extract description into a variable

* Generate permissions with or without description

* Tweak the docs and generate 'which includes'

* Simplify to just `includes`

* Docs change change file

* Put the change in minor

* Update .changes/include-permissions-in-schema.md

Co-authored-by: Amr Bashir <[email protected]>

* Remove unused change file

---------

Co-authored-by: Amr Bashir <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants