@nocobase/acl 0.7.2-alpha.7 → 0.7.4-alpha.2

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.
@@ -33,7 +33,9 @@ class AllowManager {
33
33
  }
34
34
 
35
35
  const roleInstance = yield ctx.db.getRepository('roles').findOne({
36
- name: roleName
36
+ filter: {
37
+ name: roleName
38
+ }
37
39
  });
38
40
  return roleInstance === null || roleInstance === void 0 ? void 0 : roleInstance.get('allowConfigure');
39
41
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/acl",
3
- "version": "0.7.2-alpha.7",
3
+ "version": "0.7.4-alpha.2",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "licenses": [
@@ -12,7 +12,7 @@
12
12
  "main": "./lib/index.js",
13
13
  "types": "./lib/index.d.ts",
14
14
  "dependencies": {
15
- "@nocobase/resourcer": "0.7.2-alpha.7",
15
+ "@nocobase/resourcer": "0.7.4-alpha.2",
16
16
  "json-templates": "^4.2.0"
17
17
  },
18
18
  "repository": {
@@ -20,5 +20,5 @@
20
20
  "url": "git+https://github.com/nocobase/nocobase.git",
21
21
  "directory": "packages/acl"
22
22
  },
23
- "gitHead": "c34194ae51395346b7cf1d1b6b5e127597d956ab"
23
+ "gitHead": "542d6ca11dd2f5427aa63f7f20259122d1081a88"
24
24
  }