mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix: snippets (#4030)
This commit is contained in:
parent
1fad32db80
commit
0fcef2f837
@ -473,6 +473,8 @@ export class PluginDataSourceManagerServer extends Plugin {
|
||||
name: `pm.${this.name}`,
|
||||
actions: [
|
||||
'dataSources:*',
|
||||
'dataSources.collections:*',
|
||||
'dataSourcesCollections.fields:*',
|
||||
'roles.dataSourceResources',
|
||||
'collections:*',
|
||||
'collections.fields:*',
|
||||
|
@ -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:*'],
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user