Skip to content

Commit c1f1df2

Browse files
committed
fix permission stuffs
1 parent 79e5031 commit c1f1df2

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

plugins/store2/permissions/autogenerated/reference.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ Default permissions for the plugin
44

55
#### This default permission set includes the following:
66

7-
- `allow-ping`
7+
- `allow-get-str`
8+
- `allow-set-str`
9+
- `allow-get-bool`
10+
- `allow-set-bool`
11+
- `allow-get-number`
12+
- `allow-set-number`
813

914
## Permission Table
1015

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[default]
22
description = "Default permissions for the plugin"
3-
permissions = ["allow-ping"]
3+
permissions = [
4+
"allow-get-str",
5+
"allow-set-str",
6+
"allow-get-bool",
7+
"allow-set-bool",
8+
"allow-get-number",
9+
"allow-set-number",
10+
]

plugins/store2/permissions/schemas/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@
367367
"markdownDescription": "Denies the set_str command without any pre-configured scope."
368368
},
369369
{
370-
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-ping`",
370+
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-get-str`\n- `allow-set-str`\n- `allow-get-bool`\n- `allow-set-bool`\n- `allow-get-number`\n- `allow-set-number`",
371371
"type": "string",
372372
"const": "default",
373-
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-ping`"
373+
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-get-str`\n- `allow-set-str`\n- `allow-get-bool`\n- `allow-set-bool`\n- `allow-get-number`\n- `allow-set-number`"
374374
}
375375
]
376376
}

0 commit comments

Comments
 (0)