permissions middleware
This commit is contained in:
parent
c7e48c0334
commit
1d2b5ea420
7 changed files with 86 additions and 25 deletions
|
@ -9,7 +9,7 @@ declare global {
|
|||
export interface Request {
|
||||
userId: string;
|
||||
username: string;
|
||||
rights: PermissionObject;
|
||||
permissions: PermissionObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue