I want to use my master key, however none of the documentation even mentions it. How can I use it to call .save() and over-ride permissions on an object
There's a bunch of information on the master key in the security section of the documentation: http://parseplatform.github.io/docs/js/guide/#client-vs-server
To summarize:
Parse.initialize(applicationKey, optionalJSKey, masterKey);Parse.Cloud.useMasterKey()useMasterKey: true in the optional permissions object passed as the final parameter to any server call, eg: myObject.save({}, {useMasterKey: true})鈿狅笍 Parse.Cloud.useMasterKey() is deprecated @dylankbuckley
@jaimeagudo What should I use instead?
@giusecapo please see @andrewimm's response
Most helpful comment
There's a bunch of information on the master key in the security section of the documentation: http://parseplatform.github.io/docs/js/guide/#client-vs-server
To summarize:
Parse.initialize(applicationKey, optionalJSKey, masterKey);Parse.Cloud.useMasterKey()useMasterKey: truein the optional permissions object passed as the final parameter to any server call, eg:myObject.save({}, {useMasterKey: true})