Closed
Description
Issue Description
Live query subscription to an ACL secured object doesn't work, even when sessionToken is passed.
Steps to reproduce
// user is logged in, there's a Patient object in the DB, whose ACL is set to Read+Write by same user
var lq = Parse.CoreManager.getLiveQueryController();
var cu = Parse.User.current();
var pq = new Parse.Query( 'Patient' );
pq.equalTo( 'userId', cu.id );
var plq = lq.subscribe( pq, cu.getSessionToken() );
plq.on('update', (object) => {
console.log('object updated', object );
});
Update a field in Patient object on the server.
Expected Results
"object updated" handler should be called
Actual Outcome
nothing happens.
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : ^3.1.3
- Operating System: CentOS
- Hardware: AWS instance
- Localhost or remote server? AWS remote server
-
JS SDK
- JS SDK version: 2.2.1
- Application: Chrome