Skip to content

Easy way to disable master key requirements for all requests originating from the parse-server? #469

Closed
@yuzeh

Description

@yuzeh

Hi,

We're migrating away from calling the Parse.Cloud.useMasterKey() call which won't work in parse-server, but it's a bit tedious because we have to tag a bunch of .save() and .find() and .get() function calls with the right config object. Furthermore, we'd need to keep tagging those function calls as we build out our app.

Ideally, we'd like any request that comes from the parse-server itself to automatically use the master key. (We are pretty sure there won't be any security issues in our app if this were to happen).

Is there a good way to do this? A brief look at the code seems to indicate I could make a wrapper around QueryController and friends to facilitate this.

Is this even a good idea? If so, I'd like to make a request for this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions