Skip to content

Difference Setting ACL js(parse.com) and android(hosted). #1390

Closed

Description

Check out this issue for an ideal bug report. The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!

For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

Description

When I creating new user, I setting acl control. JS(from Parse.com api) side is okay, but Android side (from azure server side) is strange.

  • use parse.com for testing somtime.

Environment Setup

  • Microsoft Azure
    • Parse Server 2.2.6 (Webapp)
      • Azure Storage File Adapter
      • Forked 'parse-server-example', Customized.
    • MongoDB 3.0.10 (MS Azure VM - Cent OS 6.7)
  • Android Build Version 6.0.1, 5.1.x (with Android Studio)
  • Google Chrome Browser (49.0.2623.110 (64-bit))
  • Mac OS X El Capitain

Steps to reproduce

  • Android side
.....  
ParseACL acl = new ParseACL();
acl.setPublicReadAccess(false);
acl.setPublicWriteAccess(false);
user.setACL(acl);
user.signUp();

.....  
  • JS Side (from parse.com)
....
var acl = new Parse.ACL();
acl.setPublicReadAccess(false);
acl.setPublicWriteAccess(false);
user.setACL(acl);
user.save(); // or user.signUp();
....
Result :
  • Android
    acl column, master key only
  • JS (from parse.com)
    acl column, { user_object_id }
Expected :
  • same results. / parse.com or stand-alone

Logs/Trace

  • none

Please tell me what I missing. Thanks.

Activity

  1. ghost changed the title [-]Difference Setting ACL js and android.[/-] [+]Difference Setting ACL js(parse.com) and android.[/+] on Apr 6, 2016
  2. ghost changed the title [-]Difference Setting ACL js(parse.com) and android.[/-] [+]Difference Setting ACL js(parse.com) and android(stand-alone).[/+] on Apr 6, 2016
  3. ghost changed the title [-]Difference Setting ACL js(parse.com) and android(stand-alone).[/-] [+]Difference Setting ACL js(parse.com) and android(hosted).[/+] on Apr 6, 2016
  4. flovilmart commented on Apr 6, 2016

    @flovilmart
    Contributor

    so the bug basically is locking the user out.

  5. added
    type:bugImpaired feature or lacking behavior that is likely assumed
    on Apr 6, 2016
  6. flovilmart commented on Apr 8, 2016

    @flovilmart
    Contributor

    PRs are welcome, as you can see by the number of issues listed and the number of commits we merge every day, we do our best to accommodate everyone here.

  7. flovilmart commented on Apr 8, 2016

    @flovilmart
    Contributor

    Quick question, in your case the ACL on the userId is read / write

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions