Permissions
Tauri capability permissions for this plugin, generated from permissions/default.toml
and permissions/autogenerated/, which Tauri writes from the command list.
Add them to a capability file, for example "permissions": ["core:default", "widgets:default"]
(see Install). Each command is listed on the Tauri commands page.
Default permission set
Identifier: widgets:default
Default permissions for the widgets plugin — enables all commands.
It includes 32 permissions:
allow-set-items, allow-get-items, allow-set-register-widget, allow-reload-all-timelines, allow-reload-timelines, allow-request-widget, allow-create-widget-window, allow-close-widget-window, allow-set-widget-config, allow-set-widget-config-from-path, allow-get-widget-config, allow-widget-action, allow-poll-pending-actions, allow-report-receipt, allow-get-widget-diagnostics, allow-get-widget-trace, allow-flush-widget-trace, allow-set-widget-data, allow-set-widget-instances, allow-get-active-widgets, allow-start-activity, allow-update-activity, allow-end-activity, allow-list-activities, allow-activity-island, allow-get-activity-push-to-start-token, allow-set-widget-state, allow-get-widget-state, allow-register-activity-template, allow-get-widget-push-token, allow-can-promote-activities, allow-open-activity-promotion-settings
All permissions
| Identifier | Description | In default |
|---|---|---|
widgets:allow-activity-island | Enables the activity_island command without any pre-configured scope. | ✓ |
widgets:deny-activity-island | Denies the activity_island command without any pre-configured scope. | |
widgets:allow-can-promote-activities | Enables the can_promote_activities command without any pre-configured scope. | ✓ |
widgets:deny-can-promote-activities | Denies the can_promote_activities command without any pre-configured scope. | |
widgets:allow-close-widget-window | Enables the close_widget_window command without any pre-configured scope. | ✓ |
widgets:deny-close-widget-window | Denies the close_widget_window command without any pre-configured scope. | |
widgets:allow-create-widget-window | Enables the create_widget_window command without any pre-configured scope. | ✓ |
widgets:deny-create-widget-window | Denies the create_widget_window command without any pre-configured scope. | |
widgets:allow-end-activity | Enables the end_activity command without any pre-configured scope. | ✓ |
widgets:deny-end-activity | Denies the end_activity command without any pre-configured scope. | |
widgets:allow-flush-widget-trace | Enables the flush_widget_trace command without any pre-configured scope. | ✓ |
widgets:deny-flush-widget-trace | Denies the flush_widget_trace command without any pre-configured scope. | |
widgets:allow-get-active-widgets | Enables the get_active_widgets command without any pre-configured scope. | ✓ |
widgets:deny-get-active-widgets | Denies the get_active_widgets command without any pre-configured scope. | |
widgets:allow-get-activity-push-to-start-token | Enables the get_activity_push_to_start_token command without any pre-configured scope. | ✓ |
widgets:deny-get-activity-push-to-start-token | Denies the get_activity_push_to_start_token command without any pre-configured scope. | |
widgets:allow-get-items | Enables the get_items command without any pre-configured scope. | ✓ |
widgets:deny-get-items | Denies the get_items command without any pre-configured scope. | |
widgets:allow-get-widget-config | Enables the get_widget_config command without any pre-configured scope. | ✓ |
widgets:deny-get-widget-config | Denies the get_widget_config command without any pre-configured scope. | |
widgets:allow-get-widget-diagnostics | Enables the get_widget_diagnostics command without any pre-configured scope. | ✓ |
widgets:deny-get-widget-diagnostics | Denies the get_widget_diagnostics command without any pre-configured scope. | |
widgets:allow-get-widget-push-token | Enables the get_widget_push_token command without any pre-configured scope. | ✓ |
widgets:deny-get-widget-push-token | Denies the get_widget_push_token command without any pre-configured scope. | |
widgets:allow-get-widget-state | Enables the get_widget_state command without any pre-configured scope. | ✓ |
widgets:deny-get-widget-state | Denies the get_widget_state command without any pre-configured scope. | |
widgets:allow-get-widget-trace | Enables the get_widget_trace command without any pre-configured scope. | ✓ |
widgets:deny-get-widget-trace | Denies the get_widget_trace command without any pre-configured scope. | |
widgets:allow-list-activities | Enables the list_activities command without any pre-configured scope. | ✓ |
widgets:deny-list-activities | Denies the list_activities command without any pre-configured scope. | |
widgets:allow-open-activity-promotion-settings | Enables the open_activity_promotion_settings command without any pre-configured scope. | ✓ |
widgets:deny-open-activity-promotion-settings | Denies the open_activity_promotion_settings command without any pre-configured scope. | |
widgets:allow-poll-pending-actions | Enables the poll_pending_actions command without any pre-configured scope. | ✓ |
widgets:deny-poll-pending-actions | Denies the poll_pending_actions command without any pre-configured scope. | |
widgets:allow-register-activity-template | Enables the register_activity_template command without any pre-configured scope. | ✓ |
widgets:deny-register-activity-template | Denies the register_activity_template command without any pre-configured scope. | |
widgets:allow-reload-all-timelines | Enables the reload_all_timelines command without any pre-configured scope. | ✓ |
widgets:deny-reload-all-timelines | Denies the reload_all_timelines command without any pre-configured scope. | |
widgets:allow-reload-timelines | Enables the reload_timelines command without any pre-configured scope. | ✓ |
widgets:deny-reload-timelines | Denies the reload_timelines command without any pre-configured scope. | |
widgets:allow-report-receipt | Enables the report_receipt command without any pre-configured scope. | ✓ |
widgets:deny-report-receipt | Denies the report_receipt command without any pre-configured scope. | |
widgets:allow-request-widget | Enables the request_widget command without any pre-configured scope. | ✓ |
widgets:deny-request-widget | Denies the request_widget command without any pre-configured scope. | |
widgets:allow-set-items | Enables the set_items command without any pre-configured scope. | ✓ |
widgets:deny-set-items | Denies the set_items command without any pre-configured scope. | |
widgets:allow-set-register-widget | Enables the set_register_widget command without any pre-configured scope. | ✓ |
widgets:deny-set-register-widget | Denies the set_register_widget command without any pre-configured scope. | |
widgets:allow-set-widget-config | Enables the set_widget_config command without any pre-configured scope. | ✓ |
widgets:deny-set-widget-config | Denies the set_widget_config command without any pre-configured scope. | |
widgets:allow-set-widget-config-from-path | Enables the set_widget_config_from_path command without any pre-configured scope. | ✓ |
widgets:deny-set-widget-config-from-path | Denies the set_widget_config_from_path command without any pre-configured scope. | |
widgets:allow-set-widget-data | Enables the set_widget_data command without any pre-configured scope. | ✓ |
widgets:deny-set-widget-data | Denies the set_widget_data command without any pre-configured scope. | |
widgets:allow-set-widget-instances | Enables the set_widget_instances command without any pre-configured scope. | ✓ |
widgets:deny-set-widget-instances | Denies the set_widget_instances command without any pre-configured scope. | |
widgets:allow-set-widget-state | Enables the set_widget_state command without any pre-configured scope. | ✓ |
widgets:deny-set-widget-state | Denies the set_widget_state command without any pre-configured scope. | |
widgets:allow-start-activity | Enables the start_activity command without any pre-configured scope. | ✓ |
widgets:deny-start-activity | Denies the start_activity command without any pre-configured scope. | |
widgets:allow-update-activity | Enables the update_activity command without any pre-configured scope. | ✓ |
widgets:deny-update-activity | Denies the update_activity command without any pre-configured scope. | |
widgets:allow-widget-action | Enables the widget_action command without any pre-configured scope. | ✓ |
widgets:deny-widget-action | Denies the widget_action command without any pre-configured scope. |