ACL + Parse Server

Hi Team,

I have setup ACL for the database and updated cloud functions to use masterKey. It works fine.
But, on UI when I am trying to do a search in the database it does not work with masterKey, says no record found.

Please help.

    query.equalTo("column1", "somevalue");
    query.equalTo("column2", true);
    query.notEqualTo("column3", true);

    const results = await query.find({ useMasterKey: true });```

that query was working before when you didn’t have the ACL?

you can use master key parameter in cloud code or server side, not in front end

Yes it was working earlier

you can try it directly in cloud code, it should work

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.