Skip to content

Commit ca3a03b

Browse files
WofWcavasfvitordreyfus92
authored
clarify capabilities (#3211)
Co-authored-by: Vitor Ayres <gitkey@virtuaires.com.br> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
1 parent 1934c5d commit ca3a03b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/content/docs/security/capabilities.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ Tauri provides application and plugin developers with a capabilities system,
99
to granually enable and constrain the core exposure to the application frontend running in the
1010
system WebView.
1111

12-
Capabilities are a set of [permissions](/security/permissions/) mapped
13-
to application windows and webviews by their respective label.
12+
Capabilities define which [permissions](/security/permissions/)
13+
are granted or denied for which windows or webviews.
14+
1415
Capabilities can affect multiple windows and webviews and these can be
1516
referenced in multiple capabilities.
1617

@@ -37,8 +38,8 @@ only these are used in the application build.
3738
For a full reference of the configuration scheme please see the
3839
[references](/reference/config/) section.
3940

40-
The following example JSON defines a capability that enables default functionality
41-
for core plugins and the `window.setTitle` API.
41+
The following example JSON defines a capability that allows the main window
42+
use the default functionality of core plugins and the `window.setTitle` API.
4243

4344
```json title="src-tauri/capabilities/default.json"
4445
{

0 commit comments

Comments
 (0)