I'm looking at the parse server that was released, and looking at the spec I see a reference to methods:
equal(object.getACL().getReadAccess(user), true);
equal(object.getACL().getWriteAccess(user), true);
equal(object.getACL().getPublicReadAccess(), false);
equal(object.getACL().getPublicWriteAccess(), false);
ok(object.get("ACL"));
I searched the repo and I don't see any ACL related classes and I couldn't find a relevant library in package.json that it might be using.
Where is it getting this functionality from?
Reference: https://github.com/ParsePlatform/parse-server/blob/master/spec/ParseACL.spec.js
It comes from the parse package in NPM. See here for the method definition: https://github.com/ParsePlatform/Parse-SDK-JS/blob/37f433152031cdb5c782d12fbcead2c97c49e0cf/src/ParseObject.js#L862
And here is the full ParseACL file: https://github.com/ParsePlatform/Parse-SDK-JS/blob/37f433152031cdb5c782d12fbcead2c97c49e0cf/src/ParseACL.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With