typo
This commit is contained in:
parent
f44d737e7e
commit
eae86b64f4
|
@ -297,7 +297,7 @@ ACL.checkPermission = function checkPermission(principalType, principalId,
|
||||||
model, property, accessType,
|
model, property, accessType,
|
||||||
callback) {
|
callback) {
|
||||||
if(principalId !== null && principalId !== undefined && (typeof principalId !== 'string') ) {
|
if(principalId !== null && principalId !== undefined && (typeof principalId !== 'string') ) {
|
||||||
principlaId = principalId.toString();
|
principalId = principalId.toString();
|
||||||
}
|
}
|
||||||
property = property || ACL.ALL;
|
property = property || ACL.ALL;
|
||||||
var propertyQuery = (property === ACL.ALL) ? undefined : {inq: [property, ACL.ALL]};
|
var propertyQuery = (property === ACL.ALL) ? undefined : {inq: [property, ACL.ALL]};
|
||||||
|
|
Loading…
Reference in New Issue