Fix the callback
This commit is contained in:
parent
23cf373432
commit
2ec45b0fb3
|
@ -269,6 +269,11 @@ Scope.checkPermission = function (scope, model, property, accessType, callback)
|
||||||
/**
|
/**
|
||||||
* Check if the request has the permission to access
|
* Check if the request has the permission to access
|
||||||
* @param {Object} context
|
* @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
|
* @param {Function} callback
|
||||||
*/
|
*/
|
||||||
ACL.checkAccess = function (context, callback) {
|
ACL.checkAccess = function (context, callback) {
|
||||||
|
|
Loading…
Reference in New Issue