@live-change/access-control-service 0.8.133 → 0.8.135

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 (3) hide show
  1. package/invite.js +1 -1
  2. package/package.json +3 -3
  3. package/request.js +1 -2
package/invite.js CHANGED
@@ -191,7 +191,7 @@ definition.action({
191
191
  }
192
192
  })
193
193
 
194
- import task from '@live-change/task-service/task.ts' // need to import taks.js to avoid circular dependency
194
+ import task from '@live-change/task-service/task.js' // need to import taks.js to avoid circular dependency
195
195
 
196
196
 
197
197
  for(const contactType of config.contactTypes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/access-control-service",
3
- "version": "0.8.133",
3
+ "version": "0.8.135",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,8 +21,8 @@
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
23
  "dependencies": {
24
- "@live-change/framework": "^0.8.133"
24
+ "@live-change/framework": "^0.8.135"
25
25
  },
26
- "gitHead": "0fca46e0c2fbd4909e7aa3f4842d646dabadd260",
26
+ "gitHead": "347eb1a90687ed0fdf596917ccbdb0f61398dc77",
27
27
  "type": "module"
28
28
  }
package/request.js CHANGED
@@ -34,8 +34,7 @@ definition.action({
34
34
  },
35
35
  queuedBy: ['objectType', 'object'],
36
36
  waitForEvents: true,
37
- access: (params, { client, context, visibilityTest }) =>
38
- visibilityTest || access.clientCanInvite(client, params),
37
+ access: (params, { client, context, visibilityTest }) => true,
39
38
  async execute({ objectType, object, roles }, { client, service }, emit) {
40
39
  const publicAccess = await PublicAccess.get(App.encodeIdentifier([objectType, object]))
41
40
  const [sessionOrUserType, sessionOrUser] =