diff --git a/lib/models/acl.js b/lib/models/acl.js index 6b0562d8..c62ac0fe 100644 --- a/lib/models/acl.js +++ b/lib/models/acl.js @@ -269,6 +269,11 @@ Scope.checkPermission = function (scope, model, property, accessType, callback) /** * Check if the request has the permission to access * @param {Object} context + * @property {Object[]} principals An array of principals + * @property {String|Model} model The model name or model class + * @property {*} id The model instance id + * @property {String} property The property/method/relation name + * @property {String} accessType The access type * @param {Function} callback */ ACL.checkAccess = function (context, callback) {