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:
@@ -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")$"
|
||||
|
||||
Reference in New Issue
Block a user