16
common/resources/client/auth/permission.ts
Executable file
16
common/resources/client/auth/permission.ts
Executable file
@@ -0,0 +1,16 @@
|
||||
export interface Permission {
|
||||
id: number;
|
||||
name: string;
|
||||
advanced?: boolean;
|
||||
display_name: string;
|
||||
description: string;
|
||||
group: string;
|
||||
restrictions: PermissionRestriction[];
|
||||
}
|
||||
|
||||
export interface PermissionRestriction {
|
||||
name: string;
|
||||
type: string;
|
||||
value?: string | number | boolean;
|
||||
description?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user