@nocobase/plugin-users 1.4.0-alpha → 1.4.0-alpha.1

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.
@@ -10,17 +10,17 @@
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
12
  "antd": "5.12.8",
13
- "@nocobase/client": "1.4.0-alpha",
13
+ "@nocobase/client": "1.4.0-alpha.1",
14
14
  "@formily/react": "2.3.0",
15
15
  "@formily/core": "2.3.0",
16
- "@nocobase/plugin-acl": "1.4.0-alpha",
16
+ "@nocobase/plugin-acl": "1.4.0-alpha.1",
17
17
  "@emotion/css": "11.13.0",
18
- "@nocobase/utils": "1.4.0-alpha",
18
+ "@nocobase/utils": "1.4.0-alpha.1",
19
19
  "react-i18next": "11.18.6",
20
- "@nocobase/database": "1.4.0-alpha",
21
- "@nocobase/server": "1.4.0-alpha",
22
- "@nocobase/plugin-user-data-sync": "1.4.0-alpha",
20
+ "@nocobase/database": "1.4.0-alpha.1",
21
+ "@nocobase/server": "1.4.0-alpha.1",
22
+ "@nocobase/plugin-user-data-sync": "1.4.0-alpha.1",
23
23
  "lodash": "4.17.21",
24
- "@formily/shared": "2.3.0",
25
- "@nocobase/actions": "1.4.0-alpha"
24
+ "@formily/shared": "2.3.2",
25
+ "@nocobase/actions": "1.4.0-alpha.1"
26
26
  };
@@ -177,7 +177,7 @@ class PluginUsersServer extends import_server.Plugin {
177
177
  });
178
178
  }
179
179
  async load() {
180
- this.app.resourceManager.use(async (ctx, next) => {
180
+ this.app.resourceManager.use(async function deleteRolesCache(ctx, next) {
181
181
  await next();
182
182
  const { associatedName, resourceName, actionName, values } = ctx.action.params;
183
183
  if (associatedName === "roles" && resourceName === "users" && ["add", "remove", "set"].includes(actionName) && (values == null ? void 0 : values.length)) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "用户",
5
5
  "description": "Provides basic user model, as well as created by and updated by fields.",
6
6
  "description.zh-CN": "提供了基础的用户模型,以及创建人和最后更新人字段。",
7
- "version": "1.4.0-alpha",
7
+ "version": "1.4.0-alpha.1",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "homepage": "https://docs.nocobase.com/handbook/users",
@@ -25,7 +25,7 @@
25
25
  "@nocobase/test": "1.x",
26
26
  "@nocobase/utils": "1.x"
27
27
  },
28
- "gitHead": "f097a2bddec152522b5645bd5d451f4c866d2060",
28
+ "gitHead": "b42379db55cd8774d3543c8d6cdc566434d3f170",
29
29
  "keywords": [
30
30
  "Users & permissions"
31
31
  ]