refactor: rename root level cache type to authz_cache
This commit is contained in:
parent
c7ac55520d
commit
153d64068a
|
@ -328,7 +328,7 @@ fields("stats") ->
|
||||||
];
|
];
|
||||||
fields("authorization") ->
|
fields("authorization") ->
|
||||||
authz_fields();
|
authz_fields();
|
||||||
fields("cache") ->
|
fields("authz_cache") ->
|
||||||
[
|
[
|
||||||
{"enable",
|
{"enable",
|
||||||
sc(
|
sc(
|
||||||
|
@ -1684,7 +1684,7 @@ desc("mqtt") ->
|
||||||
"Global MQTT configuration.<br/>"
|
"Global MQTT configuration.<br/>"
|
||||||
"The configs here work as default values which can be overridden\n"
|
"The configs here work as default values which can be overridden\n"
|
||||||
"in <code>zone</code> configs";
|
"in <code>zone</code> configs";
|
||||||
desc("cache") ->
|
desc("authz_cache") ->
|
||||||
"Settings for the authorization cache.";
|
"Settings for the authorization cache.";
|
||||||
desc("zone") ->
|
desc("zone") ->
|
||||||
"A `Zone` defines a set of configuration items (such as the maximum number of connections)"
|
"A `Zone` defines a set of configuration items (such as the maximum number of connections)"
|
||||||
|
@ -2090,7 +2090,7 @@ authz_fields() ->
|
||||||
)},
|
)},
|
||||||
{"cache",
|
{"cache",
|
||||||
sc(
|
sc(
|
||||||
ref(?MODULE, "cache"),
|
ref(?MODULE, "authz_cache"),
|
||||||
#{}
|
#{}
|
||||||
)}
|
)}
|
||||||
].
|
].
|
||||||
|
|
Loading…
Reference in New Issue