@abtnode/constant 1.16.20 → 1.16.21-beta-edf184e1

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.
Files changed (2) hide show
  1. package/index.js +7 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -238,8 +238,13 @@ const RBAC_CONFIG = {
238
238
  // blocklet app or blocklet user
239
239
  [SERVER_ROLES.BLOCKLET_SDK]: ['query_team', 'mutate_team', 'query_blocklet'],
240
240
  [SERVER_ROLES.BLOCKLET_OWNER]: [SERVER_ROLES.BLOCKLET_ADMIN],
241
- [SERVER_ROLES.BLOCKLET_ADMIN]: [SERVER_ROLES.BLOCKLET_MEMBER, 'mutate_team', 'mutate_blocklet'],
242
- [SERVER_ROLES.BLOCKLET_MEMBER]: ['query_team', 'query_blocklet'],
241
+ [SERVER_ROLES.BLOCKLET_ADMIN]: [
242
+ SERVER_ROLES.BLOCKLET_MEMBER,
243
+ 'mutate_team',
244
+ 'mutate_blocklet',
245
+ 'mutate_notification',
246
+ ],
247
+ [SERVER_ROLES.BLOCKLET_MEMBER]: ['query_team', 'query_blocklet', 'query_notification'],
243
248
 
244
249
  // external user
245
250
  [SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER]: ['query_blocklets', 'mutate_blocklets'],
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.20",
6
+ "version": "1.16.21-beta-edf184e1",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^27.5.1"
22
22
  },
23
- "gitHead": "715efa6465e9143c23b152b5ef639266ea834843"
23
+ "gitHead": "e89c7e31d2d9ca5d00ae1f72304bdc7dcb78cc44"
24
24
  }