feat: hiden rule_engine/bridge/authz/authn from doc/example
This commit is contained in:
parent
f01e2f358b
commit
cc2beda37a
|
@ -163,7 +163,7 @@ roots(high) ->
|
|||
{?EMQX_AUTHORIZATION_CONFIG_ROOT_NAME,
|
||||
sc(
|
||||
ref(?EMQX_AUTHORIZATION_CONFIG_ROOT_NAME),
|
||||
#{}
|
||||
#{importance => ?IMPORTANCE_HIDDEN}
|
||||
)}
|
||||
];
|
||||
roots(medium) ->
|
||||
|
@ -2760,7 +2760,11 @@ authentication(Which) ->
|
|||
Module ->
|
||||
Module:root_type()
|
||||
end,
|
||||
hoconsc:mk(Type, #{desc => Desc, converter => fun ensure_array/2}).
|
||||
hoconsc:mk(Type, #{
|
||||
desc => Desc,
|
||||
converter => fun ensure_array/2,
|
||||
importance => ?IMPORTANCE_HIDDEN
|
||||
}).
|
||||
|
||||
%% the older version schema allows individual element (instead of a chain) in config
|
||||
ensure_array(undefined, _) -> undefined;
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace() -> "bridge".
|
|||
tags() ->
|
||||
[<<"Bridge">>].
|
||||
|
||||
roots() -> [bridges].
|
||||
roots() -> [{bridges, ?HOCON(?R_REF(bridges), #{importance => ?IMPORTANCE_HIDDEN})}].
|
||||
|
||||
fields(bridges) ->
|
||||
[
|
||||
|
|
|
@ -1278,7 +1278,10 @@ emqx_schema_high_prio_roots() ->
|
|||
{"authorization",
|
||||
sc(
|
||||
?R_REF("authorization"),
|
||||
#{desc => ?DESC(authorization)}
|
||||
#{
|
||||
desc => ?DESC(authorization),
|
||||
importance => ?IMPORTANCE_HIDDEN
|
||||
}
|
||||
)},
|
||||
lists:keyreplace("authorization", 1, Roots, Authz).
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace() -> rule_engine.
|
|||
tags() ->
|
||||
[<<"Rule Engine">>].
|
||||
|
||||
roots() -> ["rule_engine"].
|
||||
roots() -> [{"rule_engine", ?HOCON(?R_REF("rule_engine"), #{importance => ?IMPORTANCE_HIDDEN})}].
|
||||
|
||||
fields("rule_engine") ->
|
||||
rule_engine_settings() ++
|
||||
|
|
Loading…
Reference in New Issue