Skylight users and groups can be assigned to specific roles within a particular application to control access to the application as well as vary the UX, if applicable.
The default roles for an application are:
The initial user to create the application will be placed into the Owner role. Each role can have zero or more users and groups. While these default roles can be deleted, it is recommended to leave them intact.
A single user or group can have multiple roles as well. The roles for a given user can be identified in client-side scripts by accessing the variable
skylight.user.roles, which will be an array of the roles (e.g.
Role management for an application is available in Skylight Web, outside of the application builder. Open the dashboard for the application, then select Permissions from the left navigation panel.
New roles can also be created using the Manage Roles button in the upper right when viewing the permissions. When creating or editing a role, the permissions for that role can be set.