-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud code query.each() useMasterKey:true #3401
Comments
Put use useMasterKey in the same object as the error and success. |
Thanks for the quick response, Please can you give me an example using the code snippet above? |
|
Great thank you ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using query.each() in my cloud code and am struggling to make it work with useMasterKey:true. error returned is "Error=Permission denied for action find on class ..."
Logging suggests my problem lies in the query.each() function
What is the correct syntax for using useMasterKey:true with query.each?
I've got other examples working such as ...
and
Here's the outline of the code with some of the detail commented out.
thanks in advance...
The text was updated successfully, but these errors were encountered: