mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 05:06:30 +00:00
Fix wrong regex
This commit is contained in:
parent
c91bac2527
commit
2f4e114f25
@ -42,7 +42,7 @@ ADDONS_ROLE_ACCESS = {
|
|||||||
ROLE_DEFAULT: re.compile(
|
ROLE_DEFAULT: re.compile(
|
||||||
r"^(?:"
|
r"^(?:"
|
||||||
r"|/[^/]+/info"
|
r"|/[^/]+/info"
|
||||||
r"|addons"
|
r"|/addons"
|
||||||
r")$"
|
r")$"
|
||||||
),
|
),
|
||||||
ROLE_HOMEASSISTANT: re.compile(
|
ROLE_HOMEASSISTANT: re.compile(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user