@nocobase/plugin-users 1.4.0-alpha.5 → 1.4.0-alpha.7
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 +26 -5
- package/dist/externalVersion.js +7 -7
- package/dist/server/server.js +1 -1
- package/package.json +2 -2
- package/README.zh-CN.md +0 -9
package/README.md
CHANGED
|
@@ -1,9 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# NocoBase
|
|
2
2
|
|
|
3
|
-
|
|
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
|
package/dist/externalVersion.js
CHANGED
|
@@ -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.7",
|
|
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.7",
|
|
17
17
|
"@emotion/css": "11.13.0",
|
|
18
|
-
"@nocobase/utils": "1.4.0-alpha.
|
|
18
|
+
"@nocobase/utils": "1.4.0-alpha.7",
|
|
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.7",
|
|
21
|
+
"@nocobase/server": "1.4.0-alpha.7",
|
|
22
|
+
"@nocobase/plugin-user-data-sync": "1.4.0-alpha.7",
|
|
23
23
|
"lodash": "4.17.21",
|
|
24
24
|
"@formily/shared": "2.3.2",
|
|
25
|
-
"@nocobase/actions": "1.4.0-alpha.
|
|
25
|
+
"@nocobase/actions": "1.4.0-alpha.7"
|
|
26
26
|
};
|
package/dist/server/server.js
CHANGED
|
@@ -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) =>
|
|
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.
|
|
7
|
+
"version": "1.4.0-alpha.7",
|
|
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": "
|
|
28
|
+
"gitHead": "52bb98fe5fd95cc25baeaaef5aeae9cdd1a0e2fa",
|
|
29
29
|
"keywords": [
|
|
30
30
|
"Users & permissions"
|
|
31
31
|
]
|