Skip to content

Commit 73bb96b

Browse files
committed
cleanup previous permissions
1 parent bfb468d commit 73bb96b

File tree

5 files changed

+3
-53
lines changed

5 files changed

+3
-53
lines changed

plugins/http/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"LICENSE"
2525
],
2626
"dependencies": {
27-
"@tauri-apps/api": "^2.0.0",
28-
"@tauri-apps/plugin-http": "link:"
27+
"@tauri-apps/api": "^2.0.0"
2928
}
3029
}

plugins/http/permissions/autogenerated/commands/fetch_stream_body.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

plugins/http/permissions/autogenerated/reference.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ All fetch operations are enabled.
1515

1616
- `allow-fetch`
1717
- `allow-fetch-cancel`
18-
- `allow-fetch-stream-body`
18+
- `allow-fetch-read-body`
1919
- `allow-fetch-send`
2020

2121
## Permission Table
@@ -128,32 +128,6 @@ Enables the fetch_send command without any pre-configured scope.
128128

129129
Denies the fetch_send command without any pre-configured scope.
130130

131-
</td>
132-
</tr>
133-
134-
<tr>
135-
<td>
136-
137-
`http:allow-fetch-stream-body`
138-
139-
</td>
140-
<td>
141-
142-
Enables the fetch_stream_body command without any pre-configured scope.
143-
144-
</td>
145-
</tr>
146-
147-
<tr>
148-
<td>
149-
150-
`http:deny-fetch-stream-body`
151-
152-
</td>
153-
<td>
154-
155-
Denies the fetch_stream_body command without any pre-configured scope.
156-
157131
</td>
158132
</tr>
159133
</table>

plugins/http/permissions/default.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ All fetch operations are enabled.
1717
permissions = [
1818
"allow-fetch",
1919
"allow-fetch-cancel",
20-
"allow-fetch-stream-body",
20+
"allow-fetch-read-body",
2121
"allow-fetch-send",
2222
]

plugins/http/permissions/schemas/schema.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -334,16 +334,6 @@
334334
"type": "string",
335335
"const": "deny-fetch-send"
336336
},
337-
{
338-
"description": "Enables the fetch_stream_body command without any pre-configured scope.",
339-
"type": "string",
340-
"const": "allow-fetch-stream-body"
341-
},
342-
{
343-
"description": "Denies the fetch_stream_body command without any pre-configured scope.",
344-
"type": "string",
345-
"const": "deny-fetch-stream-body"
346-
},
347337
{
348338
"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",
349339
"type": "string",

0 commit comments

Comments
 (0)