Merge pull request #8316 from zmstone/0624-chore-add-a-note-in-authz-config
docs: refine authz file path doc
This commit is contained in:
commit
8f429b5ea3
|
@ -97,19 +97,20 @@ It is NOT allowed to configure two or more sources of the same type.
|
|||
Path to the file which contains the ACL rules.
|
||||
If the file provisioned before starting EMQX node,
|
||||
it can be placed anywhere as long as EMQX has read access to it.
|
||||
That is, EMQX will treat it as read only.
|
||||
|
||||
In case the rule-set is created from EMQX Dashboard or management API,
|
||||
the file will be placed in `authz` subdirectory inside EMQX's `data_dir`,
|
||||
and the new rules will override all rules from the old config file.
|
||||
In case the rule-set is created or updated from EMQX Dashboard or HTTP API,
|
||||
a new file will be created and placed in `authz` subdirectory inside EMQX's `data_dir`,
|
||||
and the old file will not be used anymore.
|
||||
"""
|
||||
zh: """
|
||||
包含 ACL 规则的文件路径。
|
||||
如果在启动 EMQX 节点前预先配置该路径,
|
||||
那么可以将该文件置于任何 EMQX 可以访问到的位置。
|
||||
|
||||
如果从 EMQX Dashboard 或 management API 创建规则集,
|
||||
那么文件将会自动生成在 `authz` 目录下,该目录位于 EMQX 的 `data_dir` 子目录下,
|
||||
并且之后新的规则集将会覆写旧文件。"""
|
||||
如果从 EMQX Dashboard 或 HTTP API 创建或修改了规则集,
|
||||
那么EMQX将会生成一个新的文件并将它存放在 `data_dir` 下的 `authz` 子目录中,
|
||||
并从此弃用旧的文件。"""
|
||||
}
|
||||
label {
|
||||
en: """path"""
|
||||
|
|
Loading…
Reference in New Issue