mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: public form settings not accessible without UI config permission
This commit is contained in:
parent
d04bc83f2f
commit
57af44eaf4
@ -57,7 +57,6 @@ export class PluginPublicFormsClient extends Plugin {
|
|||||||
});
|
});
|
||||||
this.app.pluginSettingsManager.add('public-forms', {
|
this.app.pluginSettingsManager.add('public-forms', {
|
||||||
title: `{{t("Public forms", { ns: "${NAMESPACE}" })}}`,
|
title: `{{t("Public forms", { ns: "${NAMESPACE}" })}}`,
|
||||||
|
|
||||||
icon: 'TableOutlined',
|
icon: 'TableOutlined',
|
||||||
Component: AdminPublicFormList,
|
Component: AdminPublicFormList,
|
||||||
});
|
});
|
||||||
@ -66,6 +65,8 @@ export class PluginPublicFormsClient extends Plugin {
|
|||||||
pluginKey: 'public-forms',
|
pluginKey: 'public-forms',
|
||||||
isTopLevel: false,
|
isTopLevel: false,
|
||||||
Component: AdminPublicFormPage,
|
Component: AdminPublicFormPage,
|
||||||
|
skipAclConfigure: true,
|
||||||
|
aclSnippet: 'pm.public-forms:name',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user