feat: add monitoring trends
This commit is contained in:
1 parent
19fc29c72c
commit
4d360fac42
18 files changed
+1683
No files matched your search
@@ -640,6 +640,7 @@ def protected_page(path: str) -> bool:
|
||||
"/system-health",
|
||||
"/accounts",
|
||||
"/monitoring/map",
|
||||
"/monitoring/analytics",
|
||||
"/operations/repairs",
|
||||
"/assets/miners",
|
||||
}
|
||||
@@ -685,6 +686,8 @@ def required_page_permission(path: str) -> str:
|
||||
return "repairs.view"
|
||||
if path in {"/locations", "/monitoring/map"}:
|
||||
return "locations.view"
|
||||
if path == "/monitoring/analytics":
|
||||
return "miners.view"
|
||||
if path == "/assets/miners":
|
||||
return "miners.view"
|
||||
if path.startswith("/agent/"):
|
||||
|
||||
Reference in new issue
Block a user