Struggling with database/user/acl permissions.
First, I love appery, it's very cool. Thanks. I've enjoyed building my first apps. My current app "Express Who's Next" works great on my devices and I'm very happy.
That said, it's not working for my test users. I'm stuck and not sure how to debug it. I've certainly tried before asking for help.
It's a brand new web app (not ios or android).
The published app is here: http://whosnext.app.appery.io
The editor link is here: http://appery.io/app/project/5b66e0de...
I've shared both the app and the database with support.
Symptom: my two new test users either can't add a new record (hitting the Save button in FriendsDetail doesn't work--stays on same page and doesn't add a record to the database), or can't query their database (the FriendsMaster list is empty, even though they used to be able to add a friend).
Everything works fine for me, as the developer (of course =).
Suspected Problem: I assume it has to do with ACL, which I admit I'm no expert on.
More background info:
First, I started with the "App Creator Express" tutorial as my base.
Then I integrated "Using the Auth0 plugin for simple identity management". All was working very well, except all users could see all other users database records. I didn't want this.
So I searched a ton and found "Building a mobile app with user registration". In particular:
"Then, open Security and permissions tab, check “Secure collection” box and save.
After that, open Change default ACL tab. A new window opens where you have to choose “@Creator” as a Username. "
I did that, but still, all users could see all users records... so I looked again and noticed I missed this subtle, but important, line:
"Then open the MerchandiseDB_Merchandise_create_service and delete an acl request parameter. ...". I assume it's because it has a '*' for all users that overrides.
It was a scary idea to delete the acl in the request parameter, but I did it anyway and voila! it worked: users could now only see their own database records. Happy, happy, joy, joy.
All seemed well, but now, new users can't create or list any database records. It still works on my account, but not the new users. They use mobile phones, so I don't know how to debug it (can't use console.log).
I feel stuck and not sure what to try next.
Any pointers?
Thanks.
Gino