Add plugin permissions and IO API (#5231)
This commit is contained in:
@@ -41,9 +41,21 @@
|
||||
},
|
||||
"license": {
|
||||
"type": "string",
|
||||
"description": "A small description of your license.",
|
||||
"description": "SPDX identifier for license of this plugin. See https://spdx.org/licenses/",
|
||||
"examples": ["MIT", "GPL-2.0-or-later"]
|
||||
},
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"description": "The permissions the plugin needs to work.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": ["FilesystemRead", "FilesystemWrite"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": { "type": "string" }
|
||||
},
|
||||
"required": ["name", "description", "authors", "version", "license"]
|
||||
|
||||
Reference in New Issue
Block a user