Manage Access with Role-Based Access Control

To collaborate with others on your machines, you can grant users permissions for individual machines or entire locations. You can use the Viam app or the Viam mobile app to grant or revoke organization owner or operator access to users or API keys.

Grant access

Share resources with users

You must have the Owner role to be able to grant permissions.

  1. In the Viam app, click on the organization dropdown in the top navigation bar.

  2. Click on Settings.

  3. Find the Members section of the organization settings page.

  4. Click on Grant access.

  5. Enter a user’s Email address.

    The user invitation menu on the Organization settings page.
  6. Select an organization, a location, or a machine as the Entity to share.

    Users with access to a location or organization can collaborate on the machines within it.

  7. Select a role to assign to the user.

    For more information on roles and the permissions they provide, see Manage access with Role-Based Access Control.

  8. Click invite.

    Limit user access

Share a location with an organization

You must have the Owner role to be able to share locations.

  1. In the Viam app, click on the organization dropdown in the top navigation bar.
  2. Select the organization that contains the location you want to share.
  3. Navigate to the location you want to share.
  4. Find the Sharing section of the location page.
  5. Select an organization you have access to in the dropdown or specify an organization ID (a string like 1ab2c3d1-1234-123a-abcd-abcdef123456). Members of the org can find the organization ID on their organization settings page.
  6. Click Share.

Limit access

Limit access for users

You must have the Owner role to be able to limit permissions.

  1. In the Viam app, click on the organization dropdown in the top navigation bar.
  2. Click on Settings.
  3. Find the Members section of the organization settings page.
  4. Click on the user to open the access settings for the user.
  5. Either change the role of the user from owner to operator with the dropdown or click on Limit access and change the resource the user has access. You can also remove the user by clicking on Remove user. The user invitation menu on the Organization settings page.

Remove an organization from a shared location

You must have the Owner role to be able to share locations.

  1. In the Viam app, click on the organization dropdown in the top navigation bar.
  2. Select the organization that contains the location you want to share.
  3. Navigate to the location you want to share.
  4. Find the Sharing section of the location page.
  5. Click the X to the right of the organization you want to remove.
  6. Click Remove.

Collaborate safely

When you or your collaborators change the configuration of a machine or a group of machines in the Viam app, viam-server automatically synchronizes the configuration and updates the running resources within 15 seconds. This means everyone who has access can change a fleet’s configuration, even while your machines are running.

You can see configuration changes made by yourself or by your collaborators by selecting History on the right side of your machine part’s card on the CONFIGURE tab. You can also revert to an earlier configuration from the History tab.

Machine configuration and machine code is intentionally kept separate, allowing you to keep track of versioning and debug issues separately.