feat: add model access control

This commit is contained in:
jialin
2025-10-13 15:21:17 +08:00
parent c41e5d9c55
commit bcd1a339f9
9 changed files with 289 additions and 2 deletions
@@ -61,6 +61,11 @@ export const ActionList: ActionItem[] = [
key: 'api',
icon: icons.ApiOutlined
},
{
label: 'Access Control',
key: 'accessControl',
icon: icons.Private
},
{
label: 'common.button.stop',
key: 'stop',
+5
View File
@@ -252,3 +252,8 @@ export interface BackendOption {
default_version: string;
versions: { label: string; value: string }[];
}
export interface AccessControlFormData {
set_public: boolean;
users: { id: number }[];
}