I am trying to develop a POC using UserGrid where a user can signup and then login and then can simply upload images to store online and download it later. Somewhat similar to a OneDrive.
I am using the api.usergrid.com
Using the dashboard I have created some Roles(admin, default, guest, etc) and assigned them Permissions.
So whenever I signup a new user how can assign that user a role using php?
I am using this as a reference: https://github.com/apache/usergrid/tree/master/sdks/php