Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-04-24 12:10:10 +00:00
commit b1eda23558
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ export class ViewCollection extends Collection {
return [];
}
return ['create', 'update', 'destroy'];
return ['create', 'update', 'destroy', 'importXlsx', 'destroyMany', 'updateMany'];
}
protected sequelizeModelOptions(): any {

View File

@ -34,7 +34,7 @@ export class PluginActionImportClient extends Plugin {
skipScopeCheck: true,
},
},
useVisible: () => useActionAvailable('import'),
useVisible: () => useActionAvailable('importXlsx'),
};
const tableActionInitializers = this.app.schemaInitializerManager.get('table:configureActions');

View File

@ -42,7 +42,7 @@ export class SQLCollection extends Collection {
}
unavailableActions(): Array<string> {
return ['create', 'update', 'destroy'];
return ['create', 'update', 'destroy', 'importXlsx', 'destroyMany', 'updateMany'];
}
public collectionSchema() {