Skip to content

Roles not supported in LiveQuery ACL check? #2018

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

Closed
farazsyed opened this issue Jun 9, 2016 · 2 comments
Closed

Roles not supported in LiveQuery ACL check? #2018

farazsyed opened this issue Jun 9, 2016 · 2 comments
Assignees

Comments

@farazsyed
Copy link

farazsyed commented Jun 9, 2016

My ParseObject has ACLs set, which are two Roles. The current User is part of both roles. But the LiveQuery server is not firing events for this object. If I remove the Roles, and instead place use the User as the ACL, the events are fired.

Are Role ACLs not supported in LiveQuery?

My code is as follows:

let LiveQueryClient = Parse.LiveQueryClient;
let client = new LiveQueryClient({
applicationId: 'xxxxxx',
serverURL: "xxxxxx",
javascriptKey: 'xxxxxx',
masterKey: 'xxxxxx',
sessionToken: Parse.User.current().getSessionToken()
});

  client.open();

  let query = new Parse.Query('Team');
  query.equalTo("name", "team");

  let subscription = client.subscribe(query, Parse.User.current().getSessionToken());
@hramos
Copy link
Contributor

hramos commented Jul 27, 2016

We're closing this issue due to inactivity.

If this is a bug you care about that is not getting attention, consider opening a pull request with a fix.

@hramos hramos closed this as completed Jul 27, 2016
@greggmojica
Copy link

@hramos can livequery call a cloud code function to override ACLs using the masterKey?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants