When a client application makes API requests, the security evolves around users, since it is a user who authenticates himself against the system. A user may have roles assigned to him or her and in that case any permissions granted (or denied) to a role would be applicable to the user as well.
This topic highlights the issue how to assign roles to users using Backendless console.
NOTICE: these assignments can also be done using API - this option is described in the correspondent topic precisely.
The instructions below assume a developer has already have some users registered for an app or created using console.
Also, it is necessary to have at least one custom security role. To assign roles to users a developer should:
- Login to Backendless console, select an app and click the Data icon.
- The Users table should be selected by default. Click the checkboxes for each user object for which you would like to assign roles.
- Click the User Roles button in the button toolbar.
- Console displays the User Role Management popup. Using the popup you can assign available custom roles to the selected users. Click the checkboxes for the roles to assign and click the Save button.
The same User Role Management popup can be used to edit role to user assignments. The dialog is smart enough to handle multiple user selection and will properly display conflicting assignments using the three-state checkbox.
Review related topics: