@nocobase/plugin-acl 0.18.0-alpha.1 → 0.18.0-alpha.3

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.
@@ -1,10 +1,11 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.18.0-alpha.1",
3
- "@nocobase/acl": "0.18.0-alpha.1",
4
- "@nocobase/actions": "0.18.0-alpha.1",
5
- "@nocobase/database": "0.18.0-alpha.1",
6
- "@nocobase/server": "0.18.0-alpha.1",
2
+ "@nocobase/client": "0.18.0-alpha.3",
3
+ "@nocobase/acl": "0.18.0-alpha.3",
4
+ "@nocobase/actions": "0.18.0-alpha.3",
5
+ "@nocobase/database": "0.18.0-alpha.3",
6
+ "@nocobase/server": "0.18.0-alpha.3",
7
7
  "async-mutex": "0.3.2",
8
8
  "lodash": "4.17.21",
9
- "@nocobase/cache": "0.18.0-alpha.1"
9
+ "@nocobase/cache": "0.18.0-alpha.3",
10
+ "@nocobase/test": "0.18.0-alpha.3"
10
11
  };
@@ -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.1",
7
+ "version": "0.18.0-alpha.3",
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": "0f5f1c0a37dc397a9dc4c8eec0c4ec20fd8107b0"
32
+ "gitHead": "0fa0ab89878d3c83218e93527548d6a360c9d9aa"
33
33
  }