From 7dcb609fd546c3361a5f60a67a62d7192954060c Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 16 Oct 2020 12:28:53 +0200 Subject: [PATCH] Add api access for resolution call (#2135) --- supervisor/api/security.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supervisor/api/security.py b/supervisor/api/security.py index 255f4cfbd..cf5b9ea90 100644 --- a/supervisor/api/security.py +++ b/supervisor/api/security.py @@ -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")$"