mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
Fix server folder permissions by role
This commit is contained in:
Vendored
+28
-1
@@ -1,5 +1,32 @@
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
authUser: any;
|
||||
authUser: {
|
||||
createdAt: Date;
|
||||
deviceId: string;
|
||||
enabled: boolean;
|
||||
flatServerFolderPermissions: string[];
|
||||
flatServerPermissions: string[];
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
isSuperAdmin: boolean;
|
||||
serverFolderPermissions: {
|
||||
createdAt: Date;
|
||||
id: string;
|
||||
serverFolderId: string;
|
||||
updatedAt: Date;
|
||||
userId: string;
|
||||
}[];
|
||||
serverId: string;
|
||||
serverPermissions: {
|
||||
createdAt: Date;
|
||||
id: string;
|
||||
serverId: string;
|
||||
type: any;
|
||||
updatedAt: Date;
|
||||
userId: string;
|
||||
}[];
|
||||
updatedAt: Date;
|
||||
username: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user