diff --git a/packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts b/packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts index 8d0cbecf4..7d8aee71b 100644 --- a/packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts +++ b/packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts @@ -473,6 +473,8 @@ export class PluginDataSourceManagerServer extends Plugin { name: `pm.${this.name}`, actions: [ 'dataSources:*', + 'dataSources.collections:*', + 'dataSourcesCollections.fields:*', 'roles.dataSourceResources', 'collections:*', 'collections.fields:*', diff --git a/packages/plugins/@nocobase/plugin-users/src/server/server.ts b/packages/plugins/@nocobase/plugin-users/src/server/server.ts index 8fa29e0d2..12601e015 100644 --- a/packages/plugins/@nocobase/plugin-users/src/server/server.ts +++ b/packages/plugins/@nocobase/plugin-users/src/server/server.ts @@ -114,7 +114,7 @@ export default class PluginUsersServer extends Plugin { this.app.acl.registerSnippet({ name: `pm.${this.name}.*`, - actions: ['users:listExcludeRole', 'users:list'], + actions: ['users:*'], }); }