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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")$"