@abtnode/constant 1.6.8 → 1.6.12
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/index.js +10 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -147,7 +147,14 @@ const RBAC_CONFIG = {
|
|
|
147
147
|
'query_session',
|
|
148
148
|
],
|
|
149
149
|
[ROLES.MEMBER]: [ROLES.GUEST, 'mutate_blocklet', 'mutate_router', 'mutate_notification', 'mutate_session'],
|
|
150
|
-
[ROLES.ADMIN]: [
|
|
150
|
+
[ROLES.ADMIN]: [
|
|
151
|
+
ROLES.MEMBER,
|
|
152
|
+
'mutate_team',
|
|
153
|
+
'mutate_webhook',
|
|
154
|
+
'mutate_accessKey',
|
|
155
|
+
'mutate_node',
|
|
156
|
+
'mutate_certificate',
|
|
157
|
+
],
|
|
151
158
|
[ROLES.OWNER]: [ROLES.ADMIN],
|
|
152
159
|
'@abtnode/auth-service': ['query_team', 'mutate_team'],
|
|
153
160
|
ci: ['query_blocklet', 'mutate_blocklet'],
|
|
@@ -199,6 +206,8 @@ module.exports = Object.freeze({
|
|
|
199
206
|
BLOCKLET_STORE_API_PREFIX: '/api',
|
|
200
207
|
BLOCKLET_STORE_META_PATH: '/api/store.json',
|
|
201
208
|
|
|
209
|
+
DEFAULT_DID_REGISTRY: 'https://resolver.staging.arcblock.io',
|
|
210
|
+
DEFAULT_DID_DOMAIN: 'did.staging.arcblock.io',
|
|
202
211
|
DEFAULT_IP_DNS_DOMAIN_SUFFIX: 'ip.abtnet.io',
|
|
203
212
|
DEFAULT_DASHBOARD_DOMAIN: '*.ip.abtnet.io',
|
|
204
213
|
DEFAULT_DASHBOARD_CERT_DOWN_ADDR: 'https://cert.abtnet.io/open/download/certificates/ip_abtnet_io',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.12",
|
|
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.4.5"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "dd79037978dc12f72330227a553a80a504f03fa7"
|
|
24
24
|
}
|