add chat system

This commit is contained in:
KingKDot
2026-04-14 21:56:18 -05:00
parent 6f14bf35e2
commit eb6ec86773
20 changed files with 1211 additions and 5 deletions
+4 -1
View File
@@ -7,7 +7,8 @@ export type Permission =
| "clients:view"
| "clients:build"
| "clients:enroll"
| "audit:view";
| "audit:view"
| "chat:write";
export function checkPermission(
user: AuthenticatedUser | null,
@@ -80,6 +81,8 @@ export function getPermissionDescription(permission: Permission): string {
return "Manage client enrollment approvals";
case "audit:view":
return "View audit logs";
case "chat:write":
return "Send messages in team chat";
default:
return "Unknown permission";
}