Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Database test with ACL

Hi,

I have a database query service I am trying to use but it keeps returning only black when I test it.

I believe this is because each record in the database has a certain acl set for security.

How can I go about testing the service with different acl?

Can I simply just use the acl in the where field?

Thanks

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Database test with ACL

Hello Marco,

Appery.io automatically gets items according to ACL field. So if you don't get any data - please check user's id which you use, does he have permissions for reading items?
https://devcenter.appery.io/documenta...

Also check are there any errors in console? This (http://devcenter.appery.io/documentat...) should help.

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Database test with ACL

Hi Sergiy,

I don't quite understand your comment.

I do understand the way the acl works when testing the app specifically on the browser or native.

But I am talking about when you use the "test service" function from within the appery builder. There is no login to pass the acl to the test so it wouldn't know. That is why I am asking if I have to specifically tell it what the acl to test is, and if so, how can I do that?

Thanks

Return to “Issues”