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