In OutSystems you grant IT users permissions by assigning them roles.
By default there are two roles:
- Allows deploying in the Development environment, open applications in Quality Assurance, and list applications in Production.
- Allows deploying applications in all environments of the infrastructure and managing IT users, security, and environments.
In this example we want to outsource the development of an application. We don't want external contractors to have the same permissions as our own development team. So we'll create a new role for them.
Create the role
To start creating a new role, click on the 'New Role' link on the 'Users & Roles' page.
In this example we'll create a new 'External Developer Role' that has the following permissions:
- Development environment: List
- Quality Assurance environment: List
- Production environment: No Access
To define the permissions on each environment, adjust the sliders.
Click Save to create the role.
Assign the role
There are several ways to assign a role to the user:
- Default role
- This role defines the permissions the IT user has for the entire infrastructure.
- You can assign roles to users for a specific application to grant higher permissions only on that application.
- You can assign roles in teams to users. This allows granting higher permissions for all applications that the team manages, without having to grant permissions on each application individually.
In this example once Abe Mccarthy, a contractor, joins the development team, we'll assign him the 'External Developer' role.
Open the Users & Roles page and click New User. When filling-in Abe's information, choose the External Developer role that we just created. Click Save.
Now that Abe has few permissions, we can increase the permissions he has for a specific application. We can also add him to a team so that he has more permissions for all applications managed by the team.