fix: storages:getBasicInfo

This commit is contained in:
chenos 2025-01-20 17:47:38 +08:00
parent 273299cc3c
commit d5df9c9621

View File

@ -170,7 +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 === 'getRules') ||
(resourceName === 'storages' && actionName === 'getBasicInfo') ||
(resourceName === 'map-configuration' && actionName === 'get')
) {
ctx.permission = {