typo
This commit is contained in:
parent
f44d737e7e
commit
eae86b64f4
|
@ -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]};
|
||||
|
|
Loading…
Reference in New Issue