feat: add user group management
This commit is contained in:
@@ -22,7 +22,12 @@ export interface AdminConfig {
|
||||
username: string;
|
||||
role: 'user' | 'admin' | 'owner';
|
||||
banned?: boolean;
|
||||
enabledApis?: string[]; // 为空则允许全部
|
||||
enabledApis?: string[]; // 优先级高于tags限制
|
||||
tags?: string[]; // 多 tags 取并集限制
|
||||
}[];
|
||||
Tags?: {
|
||||
name: string;
|
||||
enabledApis: string[];
|
||||
}[];
|
||||
};
|
||||
SourceConfig: {
|
||||
|
||||
Reference in New Issue
Block a user