feat: add model access control
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -252,3 +252,8 @@ export interface BackendOption {
|
||||
default_version: string;
|
||||
versions: { label: string; value: string }[];
|
||||
}
|
||||
|
||||
export interface AccessControlFormData {
|
||||
set_public: boolean;
|
||||
users: { id: number }[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user