skipWithMasterKey on Built-In Validator (#6972)
* Initial Commit * Change to resolveMasterKey * Change to skipWithMasterKey
This commit is contained in:
@@ -712,6 +712,7 @@ module.exports = ParseCloud;
|
||||
* @property {Boolean} requireUser whether the cloud trigger requires a user.
|
||||
* @property {Boolean} requireMaster whether the cloud trigger requires a master key.
|
||||
* @property {Boolean} validateMasterKey whether the validator should run if masterKey is provided. Defaults to false.
|
||||
* @property {Boolean} skipWithMasterKey whether the cloud code function should be ignored using a masterKey.
|
||||
*
|
||||
* @property {Array<String>|Object} requireUserKeys If set, keys required on request.user to make the request.
|
||||
* @property {String} requireUserKeys.field If requireUserKeys is an object, name of field to validate on request user
|
||||
|
||||
Reference in New Issue
Block a user