Skip to content

Commit

Permalink
docs: Add new core: prefix to window capabilities (#2537)
Browse files Browse the repository at this point in the history
  • Loading branch information
timuric authored Aug 20, 2024
1 parent 908299a commit b434833
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/content/docs/plugin/window-customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@ See the [Capabilities Overview](/security/capabilities/) for more information an
"identifier": "main-capability",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": ["window:default", "window:allow-start-dragging"]
"permissions": ["core:window:default", "core:window:allow-start-dragging"]
}
```

| Permission | Description |
| --------------------------------------- | ------------------------------------------------------------------------------ |
| `window:default` | Default permissions for the plugin. Except `window:allow-start-dragging`. |
| `window:allow-close` | Enables the close command without any pre-configured scope. |
| `window:allow-minimize` | Enables the minimize command without any pre-configured scope. |
| `window:allow-start-dragging` | Enables the start_dragging command without any pre-configured scope. |
| `window:allow-toggle-maximize` | Enables the toggle_maximize command without any pre-configured scope. |
| `window:allow-internal-toggle-maximize` | Enables the internal_toggle_maximize command without any pre-configured scope. |
| `core:window:default` | Default permissions for the plugin. Except `window:allow-start-dragging`. |
| `core:window:allow-close` | Enables the close command without any pre-configured scope. |
| `core:window:allow-minimize` | Enables the minimize command without any pre-configured scope. |
| `core:window:allow-start-dragging` | Enables the start_dragging command without any pre-configured scope. |
| `core:window:allow-toggle-maximize` | Enables the toggle_maximize command without any pre-configured scope. |
| `core:window:allow-internal-toggle-maximize` | Enables the internal_toggle_maximize command without any pre-configured scope. |

#### CSS

Expand Down

0 comments on commit b434833

Please sign in to comment.