1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Add api access for resolution call (#2135)

This commit is contained in:
Pascal Vizeli
2020-10-16 12:28:53 +02:00
committed by GitHub
parent d119e99001
commit 7dcb609fd5

View File

@@ -44,6 +44,7 @@ NO_SECURITY_CHECK = re.compile(
OBSERVER_CHECK = re.compile(
r"^(?:"
r"|/[^/]+/info"
r"|/resolution.*"
r")$"
)
@@ -94,6 +95,7 @@ ADDONS_ROLE_ACCESS = {
r"|/network/.+"
r"|/observer/.+"
r"|/os/.+"
r"|/resolution.*"
r"|/snapshots.*"
r"|/supervisor/.+"
r")$"