mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
refactor(manifest): remove unused ConfigPermission from permissions schema
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
f4c6461c0a
commit
3a6cdb3ed3
@ -44,9 +44,6 @@
|
||||
"http": {
|
||||
"$ref": "#/$defs/HTTPPermission"
|
||||
},
|
||||
"config": {
|
||||
"$ref": "#/$defs/ConfigPermission"
|
||||
},
|
||||
"subsonicapi": {
|
||||
"$ref": "#/$defs/SubsonicAPIPermission"
|
||||
},
|
||||
|
||||
@ -77,9 +77,6 @@ func (j *Manifest) UnmarshalJSON(value []byte) error {
|
||||
|
||||
// Permissions required by the plugin
|
||||
type Permissions struct {
|
||||
// Config corresponds to the JSON schema field "config".
|
||||
Config *ConfigPermission `json:"config,omitempty" yaml:"config,omitempty" mapstructure:"config,omitempty"`
|
||||
|
||||
// Http corresponds to the JSON schema field "http".
|
||||
Http *HTTPPermission `json:"http,omitempty" yaml:"http,omitempty" mapstructure:"http,omitempty"`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user