I’ve created some hosted business logic that will be called from an iOS/Android client. The hosted code performs various searches of the Users table.
To ensure the Users table can’t be queried by any random Joe who discovers the API keys, I want to disable NonAuthenticated users access to it - which I’ve been able to do successfully.
The problem is, even though I supply a valid user token along with my call to the auto-generated REST api, I cannot get results from that Users table. I assume that is because the hosted code does not automatically detect the “user-token” header value and run under that user’s permissions context correct?
So, assuming that I only have a user token, how do I run my hosted code within the context of that specific user?