cleanup previous permissions

pull/2522/head
adrieljss 4 months ago
parent bfb468d97a
commit 73bb96b33f
No known key found for this signature in database
GPG Key ID: 849F13CBD0B4AD05

@ -24,7 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "^2.0.0",
"@tauri-apps/plugin-http": "link:"
"@tauri-apps/api": "^2.0.0"
}
}

@ -1,13 +0,0 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-fetch-stream-body"
description = "Enables the fetch_stream_body command without any pre-configured scope."
commands.allow = ["fetch_stream_body"]
[[permission]]
identifier = "deny-fetch-stream-body"
description = "Denies the fetch_stream_body command without any pre-configured scope."
commands.deny = ["fetch_stream_body"]

@ -15,7 +15,7 @@ All fetch operations are enabled.
- `allow-fetch`
- `allow-fetch-cancel`
- `allow-fetch-stream-body`
- `allow-fetch-read-body`
- `allow-fetch-send`
## Permission Table
@ -128,32 +128,6 @@ Enables the fetch_send command without any pre-configured scope.
Denies the fetch_send command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`http:allow-fetch-stream-body`
</td>
<td>
Enables the fetch_stream_body command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`http:deny-fetch-stream-body`
</td>
<td>
Denies the fetch_stream_body command without any pre-configured scope.
</td>
</tr>
</table>

@ -17,6 +17,6 @@ All fetch operations are enabled.
permissions = [
"allow-fetch",
"allow-fetch-cancel",
"allow-fetch-stream-body",
"allow-fetch-read-body",
"allow-fetch-send",
]

@ -334,16 +334,6 @@
"type": "string",
"const": "deny-fetch-send"
},
{
"description": "Enables the fetch_stream_body command without any pre-configured scope.",
"type": "string",
"const": "allow-fetch-stream-body"
},
{
"description": "Denies the fetch_stream_body command without any pre-configured scope.",
"type": "string",
"const": "deny-fetch-stream-body"
},
{
"description": "This permission set configures what kind of\nfetch operations are available from the http plugin.\n\nThis enables all fetch operations but does not\nallow explicitly any origins to be fetched. This needs to\nbe manually configured before usage.\n\n#### Granted Permissions\n\nAll fetch operations are enabled.\n\n",
"type": "string",

Loading…
Cancel
Save