mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +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', {
|
||||
title: `{{t("Public forms", { ns: "${NAMESPACE}" })}}`,
|
||||
|
||||
icon: 'TableOutlined',
|
||||
Component: AdminPublicFormList,
|
||||
});
|
||||
@ -66,6 +65,8 @@ export class PluginPublicFormsClient extends Plugin {
|
||||
pluginKey: 'public-forms',
|
||||
isTopLevel: false,
|
||||
Component: AdminPublicFormPage,
|
||||
skipAclConfigure: true,
|
||||
aclSnippet: 'pm.public-forms:name',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user