Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

user permission changes after invoking database update service

Hi,

I created a database with database user login.
Everything is working fine. I can create, delete and update records in my collection table. But every time I update a record in my collection the user permission is set back from a specific user (e.q. {"55b1552fe4b0d3289c0f2e8c":{"read":true,"write":true}}) to a public user (e.q. {"*":{"write":true,"read":true}}.

Please see my ACL settings and the update mapping below.
Any ideas, what might cause the change in the acl field of my collection table?

a href="https://d2r1vs3d9006ap.cloudfront.net/s ... 1438797139[/img] /a

Image

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

user permission changes after invoking database update service

I think I found the cause: https://devcenter.appery.io/documenta...

"If you’re using automatically-imported Create or Update REST Services, remove the acl object from the REST Service Request. Otherwise, acl sent with a REST Service will overwrite default acl."

Return to “Issues”