William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Access to _users?

I want to access the _users collection because I am keeping the user's mobile number there and I want to do a server-side SMS.

But when I try to make the call, I get:

You don't have permission to access system collections.

Even though I added server code to log in with user name and password (as a test) and have a valid sessionToken.

Is it not allowed to access _users collection with server code?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Server Code Access to _users?

Hello! Please take a look here https://getsatisfaction.com/apperyio/...

William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Access to _users?

Thanks I will try direct REST call.

It would be very nice if this was mentioned in Server Code documentation @

http://docs.appery.io/documentation/b...

since there's no mention of how to handle system collections.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Server Code Access to _users?

Thank you for suggestion! We're working on documentation.

Return to “Issues”