A project is the higher-level entity that groups together other entities and services. Devices, channels, dashboards, integrations, plugins and alarms are all linked to a specific project. Users may have access to multiple projects and projects can be shared across multiple users with different roles.
When a user registers to the Console, a new project is created by default. Users can create more projects as shown below. Project administrators can also add other users (via invitations) to the project by also assigning them the appropriate role for access control.
User roles are used to authorize access to a project. User roles are defined at the project level and are the following:
Projects can be created via the Projects dialog at the right side of the NavBar. When creating a new project, users can specify:
The creator of a project automatically has the administrator role in the project.
Having multiple smaller projects instead of a few bigger ones is a good practice. It allows to group together devices that conceptually are related and also allows for more fine-grained access control.
It is not possible to combine information from different projects. For example, it is not possible to define a dashboard that shows data from devices that are created in different projects.
The Project Info view shows information on the current project. From this view, users can edit the project (name and tags) as well as add other users to the project (via invitations).
The top card shows the project attributes:
The bottom left card shows the project users:
To update a project, go to the “Project Info” view and click the edit button at the right of the screen. The project name and the project tags can be updated. Users with the “viewer” role cannot update the project.
Project administrators can add other users to the project and assign them the appropriate roles for access control. The users are invited to the projects and can either accept or reject the pending invitation. The invited users must have registered to the Console before, otherwise the invitation request will fail. Note that currently, the invitation is not sent by email. Rather, the invited user will be notified when they login to the Console.
To add a user to the project (i.e., send an invitation), click the “Add” button at the “Project Users” card. Then, specify the email of the user (the email that they used to register their account to the Console), as well as the user’s role in the project that specifies their permissions.
Now, the other user will need to accept the invitation to join the project. Upon user login, they are notified if there are pending invitations in two ways:
To reply to the invitation, the invited user needs to click the Projects button at the top right of the screen (must have a red badge as shown above), click the invitations tab and accept or reject the invitation.
Users can switch between projects by selecting the active project via the Projects dialog that opens with the button at the top right of the screen. The dialog shows:
To switch to a different project, open the projects dialog and click on the desired project.