@nocobase/plugin-data-source-manager 0.20.0-alpha.7 → 0.20.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/externalVersion.js +6 -6
- package/dist/server/plugin.js +9 -1
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@nocobase/client": "0.20.0-alpha.
|
|
2
|
+
"@nocobase/client": "0.20.0-alpha.8",
|
|
3
3
|
"react": "18.2.0",
|
|
4
|
-
"@nocobase/server": "0.20.0-alpha.
|
|
4
|
+
"@nocobase/server": "0.20.0-alpha.8",
|
|
5
5
|
"lodash": "4.17.21",
|
|
6
6
|
"@ant-design/icons": "5.2.6",
|
|
7
7
|
"antd": "5.12.8",
|
|
@@ -10,10 +10,10 @@ module.exports = {
|
|
|
10
10
|
"react-i18next": "11.18.6",
|
|
11
11
|
"@formily/react": "2.3.0",
|
|
12
12
|
"@emotion/css": "11.11.2",
|
|
13
|
-
"@nocobase/database": "0.20.0-alpha.
|
|
14
|
-
"@nocobase/utils": "0.20.0-alpha.
|
|
15
|
-
"@nocobase/plugin-acl": "0.20.0-alpha.
|
|
16
|
-
"@nocobase/acl": "0.20.0-alpha.
|
|
13
|
+
"@nocobase/database": "0.20.0-alpha.8",
|
|
14
|
+
"@nocobase/utils": "0.20.0-alpha.8",
|
|
15
|
+
"@nocobase/plugin-acl": "0.20.0-alpha.8",
|
|
16
|
+
"@nocobase/acl": "0.20.0-alpha.8",
|
|
17
17
|
"sequelize": "6.35.2",
|
|
18
18
|
"@formily/antd-v5": "1.1.9",
|
|
19
19
|
"@formily/core": "2.3.0",
|
package/dist/server/plugin.js
CHANGED
|
@@ -399,7 +399,15 @@ class PluginDataSourceManagerServer extends import_server.Plugin {
|
|
|
399
399
|
});
|
|
400
400
|
this.app.acl.registerSnippet({
|
|
401
401
|
name: `pm.${this.name}`,
|
|
402
|
-
actions: [
|
|
402
|
+
actions: [
|
|
403
|
+
"dataSources:*",
|
|
404
|
+
"roles.dataSourceResources",
|
|
405
|
+
"collections:*",
|
|
406
|
+
"collections.fields:*",
|
|
407
|
+
"dbViews:*",
|
|
408
|
+
"collectionCategories:*",
|
|
409
|
+
"sqlCollection:*"
|
|
410
|
+
]
|
|
403
411
|
});
|
|
404
412
|
this.app.acl.allow("dataSources", "listEnabled", "loggedIn");
|
|
405
413
|
this.app.acl.allow("dataSources", "get", "loggedIn");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-data-source-manager",
|
|
3
|
-
"version": "0.20.0-alpha.
|
|
3
|
+
"version": "0.20.0-alpha.8",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"displayName": "Data source manager",
|
|
6
6
|
"displayName.zh-CN": "数据源管理",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"keywords": [
|
|
17
17
|
"Data model tools"
|
|
18
18
|
],
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "39ebc1cefe5a826aecf0b14d73530dfa5f9c2b1c"
|
|
20
20
|
}
|