fix(plugin-public-forms): fix storage action name

This commit is contained in:
mytharcher 2025-03-10 11:16:16 +08:00
parent 19628c942f
commit 46d9744c6c

View File

@ -170,6 +170,7 @@ export class PluginPublicFormsServer extends Plugin {
} else if (
(actionName === 'list' && ctx.PublicForm['targetCollections'].includes(resourceName)) ||
(collection.options.template === 'file' && actionName === 'create') ||
(resourceName === 'storages' && actionName === 'listBasicInfo') ||
(resourceName === 'map-configuration' && actionName === 'get')
) {
ctx.permission = {