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: {
displayName: '{{t("Edit")}}',
type: 'old-data',
aliases: ['update', 'move'],
aliases: ['update', 'move', 'add', 'set', 'remove', 'toggle'],
allowConfigureFields: true,
},
destroy: {
displayName: '{{t("Delete")}}',
aliases: ['destroy', 'remove'],
aliases: ['destroy'],
type: 'old-data',
},
};