ee-soa-service
Advanced tools
Comparing version 0.2.18 to 0.2.19
@@ -217,7 +217,7 @@ | ||
} | ||
else this._handleResponse(new Error('You are not allowed to access the controller «'+collection+'», action «'+action+'» on the service «'+this.name+'»!'), {}, req, callback, SOAResponse.statusCodes.ACCESS_UNAUTHORIZED); | ||
else this._handleResponse(new Error('You are not allowed to access the controller «'+collection+'», action «'+(this._permissionMap[action] || action)+'» on the service «'+this.name+'»!'), {}, req, callback, SOAResponse.statusCodes.ACCESS_UNAUTHORIZED); | ||
}.bind(this)).catch(function(err) { | ||
// failed to load the permissions | ||
callback(new Error('Failed to load the permissions for the controller «'+collection+'», 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)); | ||
}.bind(this)); | ||
@@ -224,0 +224,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
, "keywords" : ["ee", "soa", "service"] | ||
, "version" : "0.2.18" | ||
, "version" : "0.2.19" | ||
, "author": { | ||
@@ -8,0 +8,0 @@ "name" : "Tobias Kneubuehler" |
77082