🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
refactor(plugins): remove unnecessary configuration permissions from manifest files
Deluan7d5e13672d58
diff --git a/plugins/examples/crypto-ticker/manifest.json b/plugins/examples/crypto-ticker/manifest.jsonindex 59d00cbaa..362fcd0e9 100644--- a/plugins/examples/crypto-ticker/manifest.json+++ b/plugins/examples/crypto-ticker/manifest.json@@ -60,9 +60,6 @@}},"permissions": {- "config": {- "reason": "To read ticker symbols configuration"- },"scheduler": {"reason": "To schedule reconnection attempts on connection loss"},diff --git a/plugins/manifest-schema.json b/plugins/manifest-schema.jsonindex 881592c28..4e64ca6ea 100644--- a/plugins/manifest-schema.json+++ b/plugins/manifest-schema.json@@ -153,17 +153,6 @@}}},- "ConfigPermission": {- "type": "object",- "description": "Configuration access permissions for a plugin",- "additionalProperties": false,- "properties": {- "reason": {- "type": "string",- "description": "Explanation for why config access is needed"- }- }- },"SubsonicAPIPermission": {"type": "object","description": "SubsonicAPI service permissions. Requires 'users' permission to be declared.",diff --git a/plugins/manifest_gen.go b/plugins/manifest_gen.goindex 9762babbf..27c3c0677 100644--- a/plugins/manifest_gen.go+++ b/plugins/manifest_gen.go@@ -45,12 +45,6 @@ func (j *ConfigDefinition) UnmarshalJSON(value []byte) error {return nil}-// Configuration access permissions for a plugin-type ConfigPermission struct {- // Explanation for why config access is needed- Reason *string `json:"reason,omitempty" yaml:"reason,omitempty" mapstructure:"reason,omitempty"`-}-// Experimental features that may change or be removed in future versionstype Experimental struct {// Threads corresponds to the JSON schema field "threads".