chore: update authz default config style

This commit is contained in:
Zaiming (Stone) Shi 2022-06-30 08:09:38 +02:00
parent 79be7f9420
commit 95706cf45f
1 changed files with 9 additions and 5 deletions

View File

@ -1,10 +1,14 @@
authorization { authorization {
deny_action: ignore deny_action = ignore
no_match: allow no_match = allow
sources: [ sources = [
{ {
type: file type = file
path: "{{ platform_etc_dir }}/acl.conf" 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"
} }
] ]
} }