Merge pull request #8353 from zmstone/0630-chore-update-config-style

chore: update authz default config style
This commit is contained in:
Zaiming (Stone) Shi 2022-07-01 05:21:02 +01:00 committed by GitHub
commit 9a6f776f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 5 deletions

View File

@ -1,10 +1,14 @@
authorization {
deny_action: ignore
no_match: allow
sources: [
deny_action = ignore
no_match = allow
sources = [
{
type: file
path: "{{ platform_etc_dir }}/acl.conf"
type = file
enable = true
# This file is immutable to EMQX.
# Once new rules are created from dashboard UI or HTTP API,
# the file 'data/authz/acl.conf' is used instead of this one
path = "{{ platform_etc_dir }}/acl.conf"
}
]
}