chore(auth): restore injected schema key position
This commit is contained in:
parent
db31e5f0d9
commit
0dae040047
|
@ -214,7 +214,10 @@ roots(high) ->
|
||||||
desc => ?DESC(zones),
|
desc => ?DESC(zones),
|
||||||
importance => ?IMPORTANCE_HIDDEN
|
importance => ?IMPORTANCE_HIDDEN
|
||||||
}
|
}
|
||||||
)},
|
)}
|
||||||
|
] ++
|
||||||
|
emqx_schema_hooks:injection_point('roots.high') ++
|
||||||
|
[
|
||||||
%% NOTE: authorization schema here is only to keep emqx app pure
|
%% NOTE: authorization schema here is only to keep emqx app pure
|
||||||
%% the full schema for EMQX node is injected in emqx_conf_schema.
|
%% the full schema for EMQX node is injected in emqx_conf_schema.
|
||||||
{?EMQX_AUTHORIZATION_CONFIG_ROOT_NAME,
|
{?EMQX_AUTHORIZATION_CONFIG_ROOT_NAME,
|
||||||
|
@ -222,7 +225,7 @@ roots(high) ->
|
||||||
ref(?EMQX_AUTHORIZATION_CONFIG_ROOT_NAME),
|
ref(?EMQX_AUTHORIZATION_CONFIG_ROOT_NAME),
|
||||||
#{importance => ?IMPORTANCE_HIDDEN}
|
#{importance => ?IMPORTANCE_HIDDEN}
|
||||||
)}
|
)}
|
||||||
] ++ emqx_schema_hooks:injection_point('roots.high');
|
];
|
||||||
roots(medium) ->
|
roots(medium) ->
|
||||||
[
|
[
|
||||||
{"broker",
|
{"broker",
|
||||||
|
|
Loading…
Reference in New Issue