mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: view permissions include list and get
This commit is contained in:
parent
b04d4a82d9
commit
8d58b72408
@ -171,7 +171,7 @@ export class PluginPublicFormsServer extends Plugin {
|
||||
skip: true,
|
||||
};
|
||||
} else if (
|
||||
(actionName === 'list' && ctx.PublicForm['targetCollections'].includes(resourceName)) ||
|
||||
(['list', 'get'].includes(actionName) && ctx.PublicForm['targetCollections'].includes(resourceName)) ||
|
||||
(collection.options.template === 'file' && actionName === 'create') ||
|
||||
(resourceName === 'storages' && actionName === 'getBasicInfo') ||
|
||||
(resourceName === 'map-configuration' && actionName === 'get')
|
||||
|
Loading…
x
Reference in New Issue
Block a user