How to set GlobalRole?

How do I set globalrole? I mean I’m trying to make a android app. Should I also configure the AndroidUser role? should it be the same with the Authenticated role? Will it not be a conflict if I allow a write permission in my Authenticated role and deny it in the AndroidUser role? Sorry for the dumb question. completely new here.

What is the end goal? Please start by describing what you want to accomplish. Then we will discuss how to get specific things done in order to get where you want to be.

My end goal is to have my users after registration have a default role Instead of the Authenticated role. For example students and teacher. When a user registers by default he will be assigned with a “Student Role” with just Read/Download permissions. And a user will only be assigned with a “Teacher Role” when the admin assigns him/her the “Teacher Role” through the backendless console. The teacher will have Read/Write/Update/Upload permissions. Uploading by teachers will be through the app. The thing is I’m a little bit confused with the Android Role in my Roles List in the backendless console.

If you need your users to have an additional custom role, then you need to add custom business logic event handler for the Register event and in there use the API to assign role to the user. The API is documented here: https://backendless.com/documentation/users/android/users_user_roles.htm

The “AndroidUser” role is assigned automatically to any request that use the Android Secret key.

The "AndroidUser" role is assigned automatically to any request that use the Android Secret key.

is this functionality still working? When using the Android API key I don’t get any change in permissions by editing “roles permissions” for a given table in the AndroidUser row. On the other hand if I create a custom Role, then the change in permission from the same matrix do work, so I am changing them in the right place, but the AndroidUser does not seem to work. Similarly when doing the same thing on iOS, I get that the properties actually changing are under “ServerCodeUser” for user creation, does that make sense? (this is less of an issue, but I’d like to know why the AndroidUser doesnt work, as AndroidUser should be assigned automatically, it would be much more convenient to assign permissions based on this role, instead of having to do it manually for each user which is not sustainable). Ideas? Thanks