Skip to content

Commit

Permalink
fix(plugins): permission introduction consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Aug 9, 2024
1 parent 8e96f89 commit 72a000c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/content/docs/plugin/global-shortcut.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ By default all potentially dangerous plugin commands and scopes are blocked and

See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

See the [Capabilities Overview](/security/capabilities/) for more information.

```json title="src-tauri/capabilities/main.json" ins={7-9}
{
"$schema": "../gen/schemas/desktop-schema.json",
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/plugin/logging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Install the log plugin to get started.

By default, all plugin commands are blocked and cannot be accessed. You must define a list of permissions in your `capabilities` configuration.

See the [Capabilities Overview](/security/capabilities/) for more information.
See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

```json title="src-tauri/capabilities/main.json" ins={6}
{
Expand Down
2 changes: 0 additions & 2 deletions src/content/docs/plugin/shell.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ By default all potentially dangerous plugin commands and scopes are blocked and

See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

See the [Capabilities Overview](/security/capabilities/) for more information.

```json title="src-tauri/capabilities/main.json" ins={6-23}
{
"$schema": "../gen/schemas/desktop-schema.json",
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/plugin/store.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub fn run() {

By default, all plugin commands are blocked and cannot be accessed. You must define a list of permissions in your `capabilities` configuration.

See the [Capabilities Overview](/security/capabilities/) for more information.
See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

```json title="src-tauri/capabilities/main.json" ins={6-11}
{
Expand Down
2 changes: 0 additions & 2 deletions src/content/docs/plugin/stronghold.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ By default all potentially dangerous plugin commands and scopes are blocked and

See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

See the [Capabilities Overview](/security/capabilities/) for more information.

```json title="src-tauri/capabilities/main.json" ins={8-14}
{
"$schema": "../gen/schemas/desktop-schema.json",
Expand Down
2 changes: 0 additions & 2 deletions src/content/docs/plugin/websocket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ By default all potentially dangerous plugin commands and scopes are blocked and

See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

See the [Capabilities Overview](/security/capabilities/) for more information.

```json title="src-tauri/capabilities/main.json" ins={6}
{
"$schema": "../gen/schemas/desktop-schema.json",
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/plugin/window-customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Add window permissions in capability file.

By default, all plugin commands are blocked and cannot be accessed. You must define a list of permissions in your `capabilities` configuration.

See the [Capabilities Overview](/security/capabilities/) for more information.
See the [Capabilities Overview](/security/capabilities/) for more information and the [step by step guide](/learn/security/using-plugin-permissions/) to use plugin permissions.

```json title="src-tauri/capabilities/main.json" ins={7-8}
{
Expand Down

0 comments on commit 72a000c

Please sign in to comment.