@nocobase/plugin-notification-in-app-message 2.0.29 → 2.0.31

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.
@@ -9,24 +9,24 @@
9
9
 
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
- "@nocobase/client": "2.0.29",
13
- "@nocobase/plugin-notification-manager": "2.0.29",
14
- "@nocobase/plugin-mobile": "2.0.29",
15
- "@nocobase/utils": "2.0.29",
12
+ "@nocobase/client": "2.0.31",
13
+ "@nocobase/plugin-notification-manager": "2.0.31",
14
+ "@nocobase/plugin-mobile": "2.0.31",
15
+ "@nocobase/utils": "2.0.31",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/server": "2.0.29",
17
+ "@nocobase/server": "2.0.31",
18
18
  "sequelize": "6.35.2",
19
- "@nocobase/actions": "2.0.29",
20
- "@nocobase/database": "2.0.29",
19
+ "@nocobase/actions": "2.0.31",
20
+ "@nocobase/database": "2.0.31",
21
21
  "antd": "5.24.2",
22
- "@nocobase/flow-engine": "2.0.29",
22
+ "@nocobase/flow-engine": "2.0.31",
23
23
  "antd-style": "3.7.1",
24
24
  "@emotion/css": "11.13.0",
25
25
  "@formily/react": "2.3.7",
26
26
  "react-router-dom": "6.30.1",
27
27
  "@formily/core": "2.3.7",
28
28
  "@ant-design/icons": "5.6.1",
29
- "@nocobase/plugin-workflow": "2.0.29",
29
+ "@nocobase/plugin-workflow": "2.0.31",
30
30
  "@formily/reactive": "2.3.7",
31
31
  "@formily/shared": "2.3.7"
32
32
  };
@@ -107,6 +107,6 @@ class InAppNotificationChannel extends import_plugin_notification_manager.BaseNo
107
107
  (0, import_defineMyInAppChannels.default)(this.app);
108
108
  this.app.acl.allow("myInAppMessages", "*", "loggedIn");
109
109
  this.app.acl.allow("myInAppChannels", "*", "loggedIn");
110
- this.app.acl.allow("notificationInAppMessages", "*", "loggedIn");
110
+ this.app.acl.allow("notificationInAppMessages", "updateMyOwn", "loggedIn");
111
111
  }
112
112
  }
@@ -136,7 +136,8 @@ function defineMyInAppMessages(app) {
136
136
  ctx.action.mergeParams({
137
137
  filter: {
138
138
  userId
139
- }
139
+ },
140
+ whitelist: ["status"]
140
141
  });
141
142
  return import_actions.default.update(ctx, next);
142
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-notification-in-app-message",
3
- "version": "2.0.29",
3
+ "version": "2.0.31",
4
4
  "displayName": "Notification: In-app message",
5
5
  "displayName.ru-RU": "Уведомления: Всплывающие сообщения внутри приложения",
6
6
  "displayName.zh-CN": "通知:站内信",
@@ -30,5 +30,5 @@
30
30
  "react-router-dom": "^6.x"
31
31
  },
32
32
  "license": "Apache-2.0",
33
- "gitHead": "c623e8be68bb2f8d730c30d2de6ab55e24d0861a"
33
+ "gitHead": "085eec006c7be5fbc98dabfdab98ff358eab9d95"
34
34
  }