Skip to content

Add context to dashboard calls #2344

Open
@dblythy

Description

@dblythy

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 the masterKey is being used in the dashboard, or via the cloud code.

Feature / Enhancement Description

obj.save(null, { context: {dashboard: true }})

Parse.Cloud.beforeFind('Object', ({ context, master}) => {
  if (context.dashboard && master) {
   // custom logic for dashboard only
  }
});

Example Use Case

Alternatives / Workarounds

3rd Party References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions