You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/security/scope.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ The scope type needs be of any [`serde`](https://docs.rs/serde/latest/serde/) se
14
14
These types are plugin-specific in general. For scoped commands implemented in a Tauri application
15
15
the scope type needs to be defined in the application and then enforced in the command implementation.
16
16
17
-
For instance, the [`Fs`](https://github.com/tauri-apps/plugins-workspace/tree/plugins/fs) plugin allows you to use scopes to allow or deny certain directories and files
18
-
and the [`http`](https://github.com/tauri-apps/plugins-workspace/tree/plugins/http) plugin uses scopes to filter URLs that are allowed to be reached.
17
+
For instance, the [`Fs`](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/fs) plugin allows you to use scopes to allow or deny certain directories and files
18
+
and the [`http`](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/http) plugin uses scopes to filter URLs that are allowed to be reached.
19
19
20
20
The scope is passed to the command and handling or properly enforcing is implemented
21
21
by the command itself.
@@ -29,7 +29,7 @@ The scope validation implementation should be audited to ensure correctness.
29
29
30
30
## Examples
31
31
32
-
These examples are taken from the [`Fs`](https://github.com/tauri-apps/plugins-workspace/tree/plugins/fs) plugin permissions:
32
+
These examples are taken from the [`Fs`](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/fs) plugin permissions:
33
33
34
34
The scope type in this plugin for all commands is a string,
35
35
which contains a [`glob`](https://docs.rs/glob/latest/glob/) compatible path.
0 commit comments