From 2e3dd1250cb1ee69787b87b3a75fb46dcf6e97fe Mon Sep 17 00:00:00 2001 From: chenos Date: Wed, 6 Mar 2024 22:56:43 +0800 Subject: [PATCH] fix(acl): create action aliases --- packages/core/server/src/acl/available-action.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/server/src/acl/available-action.ts b/packages/core/server/src/acl/available-action.ts index 2afa4de2a..0277f2fd9 100644 --- a/packages/core/server/src/acl/available-action.ts +++ b/packages/core/server/src/acl/available-action.ts @@ -7,6 +7,7 @@ const availableActions: { displayName: '{{t("Add new")}}', type: 'new-data', onNewRecord: true, + aliases: ['create', 'firstOrCreate', 'updateOrCreate'], allowConfigureFields: true, }, // import: {