mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: field permission check not affected by association field context (#5672)
* fix: field permission check not affected by association field context * fix: bug
This commit is contained in:
parent
4723d7c0e2
commit
8aa65fed5a
@ -230,7 +230,7 @@ export const ACLCollectionProvider = (props) => {
|
||||
actionPath = `${resoureName}:list`;
|
||||
}
|
||||
if (!actionPath) {
|
||||
return props.children;
|
||||
return <ACLActionParamsContext.Provider value={{}}>{props.children}</ACLActionParamsContext.Provider>;
|
||||
}
|
||||
const params = parseAction(actionPath, { schema });
|
||||
if (!params) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user