14
common/resources/client/auth/role.ts
Executable file
14
common/resources/client/auth/role.ts
Executable file
@@ -0,0 +1,14 @@
|
||||
import {Permission} from './permission';
|
||||
|
||||
export interface Role {
|
||||
id: number;
|
||||
name: string;
|
||||
type: 'sitewide' | 'workspace';
|
||||
description: string;
|
||||
permissions?: Permission[];
|
||||
default: boolean;
|
||||
guests: boolean;
|
||||
internal: boolean;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user