@fonoster/authz 0.8.19 → 0.8.21
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.
|
@@ -62,11 +62,17 @@ function makeCheckMethodAuthorized(authzServer, methods) {
|
|
|
62
62
|
accessKeyId,
|
|
63
63
|
method
|
|
64
64
|
});
|
|
65
|
-
logger.verbose("method authorized by external service", {
|
|
65
|
+
logger.verbose("method authorized by external service", {
|
|
66
|
+
method,
|
|
67
|
+
accessKeyId
|
|
68
|
+
});
|
|
66
69
|
next();
|
|
67
70
|
}
|
|
68
71
|
catch (error) {
|
|
69
|
-
logger.verbose("method unauthorized by external service", {
|
|
72
|
+
logger.verbose("method unauthorized by external service", {
|
|
73
|
+
method,
|
|
74
|
+
accessKeyId
|
|
75
|
+
});
|
|
70
76
|
(0, common_1.createInterceptingCall)({
|
|
71
77
|
call,
|
|
72
78
|
code: grpc_js_1.status.PERMISSION_DENIED,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/authz",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.21",
|
|
4
4
|
"description": "Authorization module for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@fonoster/common": "^0.8.
|
|
30
|
-
"@fonoster/identity": "^0.8.
|
|
31
|
-
"@fonoster/logger": "^0.8.
|
|
29
|
+
"@fonoster/common": "^0.8.21",
|
|
30
|
+
"@fonoster/identity": "^0.8.21",
|
|
31
|
+
"@fonoster/logger": "^0.8.20",
|
|
32
32
|
"@grpc/grpc-js": "~1.10.6",
|
|
33
33
|
"deepmerge": "^4.3.1",
|
|
34
34
|
"grpc-health-check": "^2.0.2"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2590a20d7309494faca50831ac0c0abdb14c2308"
|
|
44
44
|
}
|