-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add context to dashboard calls #2344
Comments
Thanks for opening this issue!
|
I would not make this a default, as it's creating an unnecessary overhead for use cases in which this is irrelevant. This seems to be a workaround for #2311. The underlying issue is that Parse Dashboard calls are unidentifiable because they are not requested by a user. |
Would not be easy just add a header in the dashboard calls? |
Actually a special PRs needed could be:
|
Note: Bounty is for the dashboard PR only, any Parse Server PR as mentioned above would receive a separate bounty. |
New Feature / Enhancement Checklist
Current Limitation
Parse Dashboard uses the JS SDK with the
masterKey
. It would be helpful to have context in cloud code whether themasterKey
is being used in the dashboard, or via the cloud code.Feature / Enhancement Description
obj.save(null, { context: {dashboard: true }})
Example Use Case
Alternatives / Workarounds
3rd Party References
The text was updated successfully, but these errors were encountered: