ee-soa-service
Advanced tools
Comparing version 0.2.22 to 0.2.23
@@ -225,3 +225,3 @@ | ||
else { | ||
if (debugService) log.info('[DefaultService] '+[this.name, req.getCollection(), req.getActionName()].join('.')+' - access was denied!'); | ||
if (debugService) log.info('[DefaultService] '+[this.name, req.getCollection(), req.getActionName()].join('.')+' - access was denied! tokens: '+(req.accessTokens || []).join(', ')); | ||
@@ -234,3 +234,3 @@ callback(new Error('You [the user(s) '+permission.getUsers().map(function(u) {return u.id}).join(', ')+' and the service(s) '+permission.getServices().map(function(s) {return s.identifier}).join(', ')+'] are not allowed to access the controller «'+collection+'», action «'+(this._permissionMap[action] || action)+'» on the service «'+this.name+'»!'), {}, SOAResponse.statusCodes.ACCESS_UNAUTHORIZED); | ||
// failed to load the permissions | ||
callback(new Error('Failed to load the permissions for the controller «'+collection+'», action «'+(this._permissionMap[action] || action)+'» on the service «'+this.name+'»: '+err)); | ||
callback(new Error('Failed to load the permissions for the controller «'+collection+'», action «'+(this._permissionMap[action] || action)+'» on the service «'+this.name+'»: '+err), {}, SOAResponse.statusCodes.SERVICE_EXCEPTION); | ||
}.bind(this)); | ||
@@ -237,0 +237,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
, "keywords" : ["ee", "soa", "service"] | ||
, "version" : "0.2.22" | ||
, "version" : "0.2.23" | ||
, "author": { | ||
@@ -8,0 +8,0 @@ "name" : "Tobias Kneubuehler" |
80025