Skip to content

ACL's getWriteAccess returns READ permission #275

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
qwertyway opened this issue Sep 23, 2019 · 1 comment · Fixed by mregandla/Parse-SDK-Flutter#5
Closed

ACL's getWriteAccess returns READ permission #275

qwertyway opened this issue Sep 23, 2019 · 1 comment · Fixed by mregandla/Parse-SDK-Flutter#5

Comments

@qwertyway
Copy link
Contributor

qwertyway commented Sep 23, 2019

in source code of parse_acl.dart the function below returns read permission, which is incorrect

bool getWriteAccess({@required String userId}) { if (userId == null) { throw 'cannot getWriteAccess for null userId'; } final _ACLPermissions _permissions = _permissionsById[userId]; return _permissions != null && _permissions.getReadPermission(); }

lib version 1.0.24

phillwiggins pushed a commit that referenced this issue Sep 23, 2019
* Update LICENSE

* Fixed permission for ACL's getWriteAccess

Fixes #275
@davimacedo
Copy link
Member

closed by #277

phillwiggins added a commit that referenced this issue Jan 11, 2020
* Release/1.0.25 - Updated versions

* Release/1.0.25 - ParseFile change

* Fix whereArrayContainsAll (#260)

* Bug fix: 'set' method should force update by default. If someone change a property of object from 'get' method and then 'set' it in ParseObject, it should be dirty. (#262)

* Fix About Retrieving Sessions (#263)

* ParseObject.update/ParseInstallation.create/ParseSession.installationId (#264)

* Fix About Retrieving Sessions

* parseObject.update/ParseInstallation.put/ParseSession.installation

* Refactored ParseUser.logout - resetting session id and deleting local data are now separate functions (#270)

* Update LICENSE (#274)

* Update LICENSE

* Update LICENSE

* Update LICENSE

* Fixed permission for ACL's getWriteAccess (#277)

* Update LICENSE

* Fixed permission for ACL's getWriteAccess

Fixes #275

* Optimize LiveQuery (#278)

* reconsitution

* reconnect when network state changed.

* reconnect when resume. (#279)

* Setting installationId in _Session object during sign-up (#293)

Excellent work!

* Release/1.0.25 - Add ParseUser update method

* Release/1.0.25 - Add ParseUser update method

* example app migration to use Sembast v2 (#294)

* Setting installationId in _Session object during sign-up

* example app migration to use Sembast v2

* cleanup and fixed a broken code (#295)

* Setting installationId in _Session object during sign-up

* example app migration to use Sembast v2

* updated .gitignore and cleaned unnecessary files in the repo

* fixed broken code after rebase

* updated .gitignore

* Release/1.0.25 - Update dependencies

Co-authored-by: 杨萧玉 <[email protected]>
Co-authored-by: kidder <[email protected]>
Co-authored-by: matskosan <[email protected]>
Co-authored-by: Artem Demyanov <[email protected]>
Co-authored-by: mregandla <[email protected]>
fischerscode pushed a commit to fischerscode/Parse-SDK-Flutter that referenced this issue Sep 5, 2020
* Release/1.0.25 - Updated versions

* Release/1.0.25 - ParseFile change

* Fix whereArrayContainsAll (parse-community#260)

* Bug fix: 'set' method should force update by default. If someone change a property of object from 'get' method and then 'set' it in ParseObject, it should be dirty. (parse-community#262)

* Fix About Retrieving Sessions (parse-community#263)

* ParseObject.update/ParseInstallation.create/ParseSession.installationId (parse-community#264)

* Fix About Retrieving Sessions

* parseObject.update/ParseInstallation.put/ParseSession.installation

* Refactored ParseUser.logout - resetting session id and deleting local data are now separate functions (parse-community#270)

* Update LICENSE (parse-community#274)

* Update LICENSE

* Update LICENSE

* Update LICENSE

* Fixed permission for ACL's getWriteAccess (parse-community#277)

* Update LICENSE

* Fixed permission for ACL's getWriteAccess

Fixes parse-community#275

* Optimize LiveQuery (parse-community#278)

* reconsitution

* reconnect when network state changed.

* reconnect when resume. (parse-community#279)

* Setting installationId in _Session object during sign-up (parse-community#293)

Excellent work!

* Release/1.0.25 - Add ParseUser update method

* Release/1.0.25 - Add ParseUser update method

* example app migration to use Sembast v2 (parse-community#294)

* Setting installationId in _Session object during sign-up

* example app migration to use Sembast v2

* cleanup and fixed a broken code (parse-community#295)

* Setting installationId in _Session object during sign-up

* example app migration to use Sembast v2

* updated .gitignore and cleaned unnecessary files in the repo

* fixed broken code after rebase

* updated .gitignore

* Release/1.0.25 - Update dependencies

Co-authored-by: 杨萧玉 <[email protected]>
Co-authored-by: kidder <[email protected]>
Co-authored-by: matskosan <[email protected]>
Co-authored-by: Artem Demyanov <[email protected]>
Co-authored-by: mregandla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants