Allow manager role to access DNS API (#1219)

This commit is contained in:
Franck Nijhof 2019-08-15 22:38:34 +02:00 committed by Pascal Vizeli
parent 9e41d0c5b0
commit 35033d1f76

View File

@ -67,6 +67,7 @@ ADDONS_ROLE_ACCESS = {
),
ROLE_MANAGER: re.compile(
r"^(?:"
r"|/dns/.*"
r"|/homeassistant/.+"
r"|/host/.+"
r"|/hardware/.+"