Permission: add option "host_permissions"

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1115
This commit is contained in:
Max Kellermann
2021-10-14 14:25:20 +02:00
parent a636d2127a
commit 77d74b404e
9 changed files with 99 additions and 5 deletions

View File

@@ -48,6 +48,7 @@ enum class ConfigOption {
ZEROCONF_NAME,
ZEROCONF_ENABLED,
PASSWORD,
HOST_PERMISSIONS,
LOCAL_PERMISSIONS,
DEFAULT_PERMS,
AUDIO_OUTPUT_FORMAT,

View File

@@ -44,6 +44,7 @@ const ConfigTemplate config_param_templates[] = {
{ "zeroconf_name" },
{ "zeroconf_enabled" },
{ "password", true },
{ "host_permissions", true },
{ "local_permissions" },
{ "default_permissions" },
{ "audio_output_format" },