In OutSystems you grant IT users permissions by assigning them roles.
By default there are two roles:
- Developer: allows deploying in the Development environment, open applications in Quality Assurance, and list applications in Production;
- IT Administrator: allows deploying applications in all environments of the infrastructure and manage 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 than 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, we adjust the sliders.
Click on the 'Save' button 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 all infrastructure;
- Application-specific: You can assign a user a role for a specific application to grant higher permissions for that application only;
- Team-specific: You can assign a user a role in a team. This allows to grant 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 the 'Save' button.
Now that the contractor 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.