mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(plugin-public-forms): fix storage action name
This commit is contained in:
parent
19628c942f
commit
46d9744c6c
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user