## Default Permission # Tauri `serialport` default permissions This configuration file defines the default permissions granted to the serialport. ### Granted Permissions This default permission set enables all read-related commands and allows access to the `$APP` folder and sub directories created in it. The location of the `$APP` folder depends on the operating system, where the application is run. In general the `$APP` folder needs to be manually created by the application at runtime, before accessing files or folders in it is possible. ### Denied Permissions This default permission set prevents access to critical components of the Tauri application by default. On Windows the webview data folder access is denied. - `allow-available-ports` - `allow-available-ports-direct` - `allow-cancel-read` - `allow-close` - `allow-close-all` - `allow-force-close` - `allow-open` - `allow-read` - `allow-write` - `allow-write-binary` - `allow-start-listening` - `allow-stop-listening` ## Permission Table
Identifier Description
`serialplugin:allow-available-ports` Enables the available_ports command without any pre-configured scope.
`serialplugin:deny-available-ports` Denies the available_ports command without any pre-configured scope.
`serialplugin:allow-available-ports-direct` Enables the available_ports_direct command without any pre-configured scope.
`serialplugin:deny-available-ports-direct` Denies the available_ports_direct command without any pre-configured scope.
`serialplugin:allow-bytes-to-read` Enables the bytes_to_read command without any pre-configured scope.
`serialplugin:deny-bytes-to-read` Denies the bytes_to_read command without any pre-configured scope.
`serialplugin:allow-bytes-to-write` Enables the bytes_to_write command without any pre-configured scope.
`serialplugin:deny-bytes-to-write` Denies the bytes_to_write command without any pre-configured scope.
`serialplugin:allow-cancel-read` Enables the cancel_read command without any pre-configured scope.
`serialplugin:deny-cancel-read` Denies the cancel_read command without any pre-configured scope.
`serialplugin:allow-clear-break` Enables the clear_break command without any pre-configured scope.
`serialplugin:deny-clear-break` Denies the clear_break command without any pre-configured scope.
`serialplugin:allow-clear-buffer` Enables the clear_buffer command without any pre-configured scope.
`serialplugin:deny-clear-buffer` Denies the clear_buffer command without any pre-configured scope.
`serialplugin:allow-close` Enables the close command without any pre-configured scope.
`serialplugin:deny-close` Denies the close command without any pre-configured scope.
`serialplugin:allow-close-all` Enables the close_all command without any pre-configured scope.
`serialplugin:deny-close-all` Denies the close_all command without any pre-configured scope.
`serialplugin:allow-force-close` Enables the force_close command without any pre-configured scope.
`serialplugin:deny-force-close` Denies the force_close command without any pre-configured scope.
`serialplugin:allow-open` Enables the open command without any pre-configured scope.
`serialplugin:deny-open` Denies the open command without any pre-configured scope.
`serialplugin:allow-read` Enables the read command without any pre-configured scope.
`serialplugin:deny-read` Denies the read command without any pre-configured scope.
`serialplugin:allow-read-carrier-detect` Enables the read_carrier_detect command without any pre-configured scope.
`serialplugin:deny-read-carrier-detect` Denies the read_carrier_detect command without any pre-configured scope.
`serialplugin:allow-read-cd` Enables the read_cd command without any pre-configured scope.
`serialplugin:deny-read-cd` Denies the read_cd command without any pre-configured scope.
`serialplugin:allow-read-clear-to-send` Enables the read_clear_to_send command without any pre-configured scope.
`serialplugin:deny-read-clear-to-send` Denies the read_clear_to_send command without any pre-configured scope.
`serialplugin:allow-read-cts` Enables the read_cts command without any pre-configured scope.
`serialplugin:deny-read-cts` Denies the read_cts command without any pre-configured scope.
`serialplugin:allow-read-data-set-ready` Enables the read_data_set_ready command without any pre-configured scope.
`serialplugin:deny-read-data-set-ready` Denies the read_data_set_ready command without any pre-configured scope.
`serialplugin:allow-read-dsr` Enables the read_dsr command without any pre-configured scope.
`serialplugin:deny-read-dsr` Denies the read_dsr command without any pre-configured scope.
`serialplugin:allow-read-dtr` Enables the read_dtr command without any pre-configured scope.
`serialplugin:deny-read-dtr` Denies the read_dtr command without any pre-configured scope.
`serialplugin:allow-read-ri` Enables the read_ri command without any pre-configured scope.
`serialplugin:deny-read-ri` Denies the read_ri command without any pre-configured scope.
`serialplugin:allow-read-ring-indicator` Enables the read_ring_indicator command without any pre-configured scope.
`serialplugin:deny-read-ring-indicator` Denies the read_ring_indicator command without any pre-configured scope.
`serialplugin:allow-set-baud-rate` Enables the set_baud_rate command without any pre-configured scope.
`serialplugin:deny-set-baud-rate` Denies the set_baud_rate command without any pre-configured scope.
`serialplugin:allow-set-break` Enables the set_break command without any pre-configured scope.
`serialplugin:deny-set-break` Denies the set_break command without any pre-configured scope.
`serialplugin:allow-set-data-bits` Enables the set_data_bits command without any pre-configured scope.
`serialplugin:deny-set-data-bits` Denies the set_data_bits command without any pre-configured scope.
`serialplugin:allow-set-flow-control` Enables the set_flow_control command without any pre-configured scope.
`serialplugin:deny-set-flow-control` Denies the set_flow_control command without any pre-configured scope.
`serialplugin:allow-set-parity` Enables the set_parity command without any pre-configured scope.
`serialplugin:deny-set-parity` Denies the set_parity command without any pre-configured scope.
`serialplugin:allow-set-stop-bits` Enables the set_stop_bits command without any pre-configured scope.
`serialplugin:deny-set-stop-bits` Denies the set_stop_bits command without any pre-configured scope.
`serialplugin:allow-set-timeout` Enables the set_timeout command without any pre-configured scope.
`serialplugin:deny-set-timeout` Denies the set_timeout command without any pre-configured scope.
`serialplugin:allow-start-listening` Enables the start_listening command without any pre-configured scope.
`serialplugin:deny-start-listening` Denies the start_listening command without any pre-configured scope.
`serialplugin:allow-stop-listening` Enables the stop_listening command without any pre-configured scope.
`serialplugin:deny-stop-listening` Denies the stop_listening command without any pre-configured scope.
`serialplugin:allow-write` Enables the write command without any pre-configured scope.
`serialplugin:deny-write` Denies the write command without any pre-configured scope.
`serialplugin:allow-write-binary` Enables the write_binary command without any pre-configured scope.
`serialplugin:deny-write-binary` Denies the write_binary command without any pre-configured scope.
`serialplugin:allow-write-data-terminal-ready` Enables the write_data_terminal_ready command without any pre-configured scope.
`serialplugin:deny-write-data-terminal-ready` Denies the write_data_terminal_ready command without any pre-configured scope.
`serialplugin:allow-write-dtr` Enables the write_dtr command without any pre-configured scope.
`serialplugin:deny-write-dtr` Denies the write_dtr command without any pre-configured scope.
`serialplugin:allow-write-request-to-send` Enables the write_request_to_send command without any pre-configured scope.
`serialplugin:deny-write-request-to-send` Denies the write_request_to_send command without any pre-configured scope.
`serialplugin:allow-write-rts` Enables the write_rts command without any pre-configured scope.
`serialplugin:deny-write-rts` Denies the write_rts command without any pre-configured scope.