From eae86b64f4fdac7de17a4985d7b4b4671e03f4fe Mon Sep 17 00:00:00 2001 From: haio Date: Tue, 29 Apr 2014 20:10:44 +0800 Subject: [PATCH] typo --- lib/models/acl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/acl.js b/lib/models/acl.js index 3663273e..ce6f936f 100644 --- a/lib/models/acl.js +++ b/lib/models/acl.js @@ -297,7 +297,7 @@ ACL.checkPermission = function checkPermission(principalType, principalId, model, property, accessType, callback) { if(principalId !== null && principalId !== undefined && (typeof principalId !== 'string') ) { - principlaId = principalId.toString(); + principalId = principalId.toString(); } property = property || ACL.ALL; var propertyQuery = (property === ACL.ALL) ? undefined : {inq: [property, ACL.ALL]};