mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-30 18:42:22 +08:00
fix: view permissions include list and get (#6607)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user