fix(acl): available actions

This commit is contained in:
chenos 2024-03-28 14:28:15 +08:00
parent 8ca94329ce
commit 8a215e2fbe

View File

@ -29,12 +29,12 @@ const availableActions: {
update: { update: {
displayName: '{{t("Edit")}}', displayName: '{{t("Edit")}}',
type: 'old-data', type: 'old-data',
aliases: ['update', 'move'], aliases: ['update', 'move', 'add', 'set', 'remove', 'toggle'],
allowConfigureFields: true, allowConfigureFields: true,
}, },
destroy: { destroy: {
displayName: '{{t("Delete")}}', displayName: '{{t("Delete")}}',
aliases: ['destroy', 'remove'], aliases: ['destroy'],
type: 'old-data', type: 'old-data',
}, },
}; };