feat: hide ssl_options.user_lookup_fun

This commit is contained in:
Zhongwen Deng 2023-04-18 14:38:17 +08:00 committed by 某文
parent e3d6fa1f21
commit 22a1d05d7b
2 changed files with 3 additions and 1 deletions

View File

@ -2225,6 +2225,7 @@ common_ssl_opts_schema(Defaults) ->
#{
default => AvailableVersions,
desc => ?DESC(common_ssl_opts_schema_versions),
importance => ?IMPORTANCE_HIGH,
validator => fun(Inputs) -> validate_tls_versions(AvailableVersions, Inputs) end
}
)},
@ -2235,6 +2236,7 @@ common_ssl_opts_schema(Defaults) ->
#{
default => <<"emqx_tls_psk:lookup">>,
converter => fun ?MODULE:user_lookup_fun_tr/2,
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC(common_ssl_opts_schema_user_lookup_fun)
}
)},

View File

@ -5,6 +5,6 @@
3. Simplified configuration items, hidden some advanced items
The hidden configurations include: exhook,rewrite,topic_metric,persistent_session_store,overload_protection,
flapping_detect,conn_congestion,stats,auto_subscribe,broker_perf,rule_engine,bridge,shared_subscription_group,slow_subs
and some advance items in node/dashboard.
ssl_options.user_lookup_fun and some advance items in node/dashboard.
4. This hidden update doesn't change the functionality of the original configuration,
but it sets the stage for an improved presentation of configuration documentation in future versions.