mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 05:06:30 +00:00
Add api access for resolution call (#2135)
This commit is contained in:
parent
d119e99001
commit
7dcb609fd5
@ -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")$"
|
||||
|
Loading…
x
Reference in New Issue
Block a user