@nocobase/plugin-users 1.4.0-alpha.6 → 1.4.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/README.md CHANGED
@@ -1,9 +1,30 @@
1
- # users
1
+ # NocoBase
2
2
 
3
- English | [中文](./README.zh-CN.md)
3
+ <video width="100%" controls>
4
+ <source src="https://static-docs.nocobase.com/NocoBase0510.mp4" type="video/mp4">
5
+ </video>
4
6
 
5
- ## 安装激活
6
7
 
7
- 内置插件无需手动安装激活。
8
+ ## What is NocoBase
8
9
 
9
- ## 使用方法
10
+ NocoBase is a scalability-first, open-source no-code development platform.
11
+ Instead of investing years of time and millions of dollars in research and development, deploy NocoBase in a few minutes and you'll have a private, controllable, and extremely scalable no-code development platform!
12
+
13
+ Homepage:
14
+ https://www.nocobase.com/
15
+
16
+ Online Demo:
17
+ https://demo.nocobase.com/new
18
+
19
+ Documents:
20
+ https://docs.nocobase.com/
21
+
22
+ Commericial license & plugins:
23
+ https://www.nocobase.com/en/commercial
24
+
25
+ License agreement:
26
+ https://www.nocobase.com/en/agreement
27
+
28
+
29
+ ## Contact Us:
30
+ hello@nocobase.com
@@ -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.6",
13
+ "@nocobase/client": "1.4.0-alpha.8",
14
14
  "@formily/react": "2.3.0",
15
15
  "@formily/core": "2.3.0",
16
- "@nocobase/plugin-acl": "1.4.0-alpha.6",
16
+ "@nocobase/plugin-acl": "1.4.0-alpha.8",
17
17
  "@emotion/css": "11.13.0",
18
- "@nocobase/utils": "1.4.0-alpha.6",
18
+ "@nocobase/utils": "1.4.0-alpha.8",
19
19
  "react-i18next": "11.18.6",
20
- "@nocobase/database": "1.4.0-alpha.6",
21
- "@nocobase/server": "1.4.0-alpha.6",
22
- "@nocobase/plugin-user-data-sync": "1.4.0-alpha.6",
20
+ "@nocobase/database": "1.4.0-alpha.8",
21
+ "@nocobase/server": "1.4.0-alpha.8",
22
+ "@nocobase/plugin-user-data-sync": "1.4.0-alpha.8",
23
23
  "lodash": "4.17.21",
24
24
  "@formily/shared": "2.3.2",
25
- "@nocobase/actions": "1.4.0-alpha.6"
25
+ "@nocobase/actions": "1.4.0-alpha.8"
26
26
  };
@@ -181,7 +181,7 @@ class PluginUsersServer extends import_server.Plugin {
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)) {
184
- await Promise.all(values.map((userId) => this.app.emitAsync("cache:del:roles", { userId })));
184
+ await Promise.all(values.map((userId) => ctx.app.emitAsync("cache:del:roles", { userId })));
185
185
  }
186
186
  });
187
187
  const userDataSyncPlugin = this.app.pm.get("user-data-sync");
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.6",
7
+ "version": "1.4.0-alpha.8",
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": "7d8583704a1f7ae0caeab72a19fd0bce0a4cec0f",
28
+ "gitHead": "aa36bd20b2028c5e133a59e922c2f1ab22c86dde",
29
29
  "keywords": [
30
30
  "Users & permissions"
31
31
  ]
package/README.zh-CN.md DELETED
@@ -1,9 +0,0 @@
1
- # users
2
-
3
- [English](./README.md) | 中文
4
-
5
- ## 安装激活
6
-
7
- 内置插件无需手动安装激活。
8
-
9
- ## 使用方法