mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +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 (
|
} else if (
|
||||||
(actionName === 'list' && ctx.PublicForm['targetCollections'].includes(resourceName)) ||
|
(actionName === 'list' && ctx.PublicForm['targetCollections'].includes(resourceName)) ||
|
||||||
(collection.options.template === 'file' && actionName === 'create') ||
|
(collection.options.template === 'file' && actionName === 'create') ||
|
||||||
|
(resourceName === 'storages' && actionName === 'listBasicInfo') ||
|
||||||
(resourceName === 'map-configuration' && actionName === 'get')
|
(resourceName === 'map-configuration' && actionName === 'get')
|
||||||
) {
|
) {
|
||||||
ctx.permission = {
|
ctx.permission = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user