@nocobase/plugin-acl 0.18.0-alpha.2 → 0.18.0-alpha.5
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 +7 -6
- package/dist/server/server.js +1 -1
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@nocobase/client": "0.18.0-alpha.
|
|
3
|
-
"@nocobase/acl": "0.18.0-alpha.
|
|
4
|
-
"@nocobase/actions": "0.18.0-alpha.
|
|
5
|
-
"@nocobase/database": "0.18.0-alpha.
|
|
6
|
-
"@nocobase/server": "0.18.0-alpha.
|
|
2
|
+
"@nocobase/client": "0.18.0-alpha.5",
|
|
3
|
+
"@nocobase/acl": "0.18.0-alpha.5",
|
|
4
|
+
"@nocobase/actions": "0.18.0-alpha.5",
|
|
5
|
+
"@nocobase/database": "0.18.0-alpha.5",
|
|
6
|
+
"@nocobase/server": "0.18.0-alpha.5",
|
|
7
7
|
"async-mutex": "0.3.2",
|
|
8
8
|
"lodash": "4.17.21",
|
|
9
|
-
"@nocobase/cache": "0.18.0-alpha.
|
|
9
|
+
"@nocobase/cache": "0.18.0-alpha.5",
|
|
10
|
+
"@nocobase/test": "0.18.0-alpha.5"
|
|
10
11
|
};
|
package/dist/server/server.js
CHANGED
|
@@ -318,7 +318,7 @@ class PluginACL extends import_server.Plugin {
|
|
|
318
318
|
const writeRolesToACL = async (app, options) => {
|
|
319
319
|
const exists = await this.app.db.collectionExistsInDb("roles");
|
|
320
320
|
if (exists) {
|
|
321
|
-
this.log.info("write roles to ACL");
|
|
321
|
+
this.log.info("write roles to ACL", { method: "writeRolesToACL" });
|
|
322
322
|
await this.writeRolesToACL();
|
|
323
323
|
}
|
|
324
324
|
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "权限控制",
|
|
5
5
|
"description": "A simple access control based on roles, resources and actions",
|
|
6
6
|
"description.zh-CN": "基于角色、资源和操作的权限控制。",
|
|
7
|
-
"version": "0.18.0-alpha.
|
|
7
|
+
"version": "0.18.0-alpha.5",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"devDependencies": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
30
30
|
"directory": "packages/plugins/acl"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "a67a2916eb44df93bb26bc82bc504ae7ecfb96bf"
|
|
33
33
|
}
|