@live-change/access-control-service 0.9.157 → 0.9.159

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/accessControl.js +3 -3
  2. package/package.json +3 -3
package/accessControl.js CHANGED
@@ -16,7 +16,7 @@ definition.processor({
16
16
  const config = action.accessControl
17
17
  if(config.public) continue
18
18
 
19
- console.log("ACCESS CONTROL", service.name, "ACTION", action.name)
19
+ //console.log("ACCESS CONTROL", service.name, "ACTION", action.name)
20
20
 
21
21
  const oldExec = action.execute
22
22
  action.execute = async (...args) => {
@@ -34,8 +34,8 @@ definition.processor({
34
34
  }
35
35
  const accessible = await access.clientHasAccessRoles(client, { objects }, config.roles)
36
36
 
37
- console.log("ACTION", service.name, action.name, "ACCESS CONTROL TO",
38
- objects, 'CLIENT', client, 'CONFIG', config, "ACCESSIBLE", accessible)
37
+ /* console.log("ACTION", service.name, action.name, "ACCESS CONTROL TO",
38
+ objects, 'CLIENT', client, 'CONFIG', config, "ACCESSIBLE", accessible) */
39
39
 
40
40
  if(!accessible) throw 'notAuthorized'
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/access-control-service",
3
- "version": "0.9.157",
3
+ "version": "0.9.159",
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.9.157"
24
+ "@live-change/framework": "^0.9.159"
25
25
  },
26
- "gitHead": "52e6a2309ba8e6bc85d2146f7da85692ce0ca956",
26
+ "gitHead": "8a605f68b81ff004da33e71667d2a7c75fe68ee4",
27
27
  "type": "module"
28
28
  }