* feat: add scope select for relation field * fix: add associatedKey support for drawerSelect component * refactor: use 'component.x-component-props.filter' as filter type * fix: remove user group field Co-authored-by: chenos <chenlinxh@gmail.com>
27 lines
526 B
TypeScript
27 lines
526 B
TypeScript
import { TableOptions } from '@nocobase/database';
|
|
|
|
export default {
|
|
name: 'actions_permissions',
|
|
title: '表操作权限',
|
|
developerMode: true,
|
|
internal: true,
|
|
fields: [
|
|
{
|
|
comment: '程序操作名称("list", "create" 等)',
|
|
type: 'string',
|
|
name: 'name',
|
|
},
|
|
{
|
|
comment: '操作范围',
|
|
type: 'belongsTo',
|
|
name: 'scope',
|
|
target: 'scopes'
|
|
},
|
|
{
|
|
type: 'belongsTo',
|
|
name: 'permission',
|
|
onDelete: 'CASCADE'
|
|
},
|
|
],
|
|
} as TableOptions;
|