fix(ui): подтверждать выполнение команд терминала

This commit is contained in:
Denozordec committed 2026-10-01 03:36:14 +07:00
1 parent bc20e5b9f4
commit a2eae189be
7 files changed
+205 -422

No files matched your search

+1
View File
@@ -227,6 +227,7 @@ export function permissionForPath(pathname: string): string | null {
if (pathname === "/" || pathname.startsWith("/dashboard")) {
return "mm:dashboard:read"
}
if (pathname.startsWith("/terminal")) return "mm:servers:read"
if (pathname.startsWith("/servers")) return "mm:servers:read"
if (pathname.startsWith("/filters") || pathname.startsWith("/gre")) {
return "mm:filters:read"