fix: snippets (#4030)

This commit is contained in:
ChengLei Shao 2024-04-12 22:40:06 +08:00 committed by GitHub
parent 1fad32db80
commit 0fcef2f837
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -473,6 +473,8 @@ export class PluginDataSourceManagerServer extends Plugin {
name: `pm.${this.name}`,
actions: [
'dataSources:*',
'dataSources.collections:*',
'dataSourcesCollections.fields:*',
'roles.dataSourceResources',
'collections:*',
'collections.fields:*',

View File

@ -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:*'],
});
}