RBAC 3.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { authenticateRequest } from "../../auth";
|
||||
import { getConfig } from "../../config";
|
||||
import { getChatHistory, getOnlineClientCountForUser } from "../../db";
|
||||
import { hasPermission } from "../../users";
|
||||
import { hasPermission } from "../../rbac";
|
||||
|
||||
export async function handleChatRoutes(
|
||||
req: Request,
|
||||
|
||||
Reference in New Issue
Block a user