@nocobase/plugin-public-forms 1.6.14 → 1.6.15

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.
@@ -8,10 +8,10 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.6.14",
11
+ "@nocobase/client": "1.6.15",
12
12
  "react-i18next": "11.18.6",
13
- "@nocobase/plugin-ui-schema-storage": "1.6.14",
14
- "@nocobase/server": "1.6.14",
13
+ "@nocobase/plugin-ui-schema-storage": "1.6.15",
14
+ "@nocobase/server": "1.6.15",
15
15
  "react": "18.2.0",
16
16
  "@ant-design/icons": "5.6.1",
17
17
  "antd": "5.12.8",
@@ -22,5 +22,5 @@ module.exports = {
22
22
  "@formily/react": "2.3.0",
23
23
  "@formily/core": "2.3.0",
24
24
  "@formily/shared": "2.3.2",
25
- "@nocobase/database": "1.6.14"
25
+ "@nocobase/database": "1.6.15"
26
26
  };
@@ -184,7 +184,7 @@ class PluginPublicFormsServer extends import_server.Plugin {
184
184
  ctx.permission = {
185
185
  skip: true
186
186
  };
187
- } else if (actionName === "list" && ctx.PublicForm["targetCollections"].includes(resourceName) || collection.options.template === "file" && actionName === "create" || resourceName === "storages" && actionName === "getBasicInfo" || resourceName === "map-configuration" && actionName === "get") {
187
+ } else if (["list", "get"].includes(actionName) && ctx.PublicForm["targetCollections"].includes(resourceName) || collection.options.template === "file" && actionName === "create" || resourceName === "storages" && actionName === "getBasicInfo" || resourceName === "map-configuration" && actionName === "get") {
188
188
  ctx.permission = {
189
189
  skip: true
190
190
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-public-forms",
3
- "version": "1.6.14",
3
+ "version": "1.6.15",
4
4
  "main": "dist/server/index.js",
5
5
  "displayName": "Public forms",
6
6
  "displayName.zh-CN": "公开表单",
@@ -16,5 +16,5 @@
16
16
  "@nocobase/server": "1.x",
17
17
  "@nocobase/test": "1.x"
18
18
  },
19
- "gitHead": "cfcd27a4e9d15873fc0d5f1bfa6e8b8711eea3fb"
19
+ "gitHead": "4628ae31452340bcb502e6a32e79f3d7f7349222"
20
20
  }