permissions middleware

This commit is contained in:
Julian Krauser 2024-08-27 11:47:27 +02:00
parent c7e48c0334
commit 1d2b5ea420
7 changed files with 86 additions and 25 deletions

View file

@ -9,7 +9,7 @@ declare global {
export interface Request {
userId: string;
username: string;
rights: PermissionObject;
permissions: PermissionObject;
}
}
}