Search code examples
javascriptparse-platformparse-server

Parse: How can you have full administrative privileges in code?


I am making a cron job that writes to my Parse database, but all the documents in my database can only be read/write by the user that created it (ACL). Is there a way to overrule ACL so that cron job can basically have all the priveledges I have on my Parse dashboard?


Solution

  • For this, you can use the master key. And use { useMasterKey: true } for the calls that require administrative privileges