Skip to main content

Creating accounts, groups, roles, and permissions

In Infrahub, managing access and control starts with creating accounts, assigning them to groups, and managing their roles and permissions. This guide outlines how to create new accounts, accounts groups, and assign roles and permissions.

For more information on roles and permissions, see the Roles and Permissions topic.

Creating a new account

  1. Login to Infrahub's web interface as an administrator.
  2. Click on Admin in the left side menu.
  3. Navigate to the Role Management section.
  4. In the Accounts tab, click on Create Account.
  5. Fill in the account's details (name, email, and password).
  6. Optionally, assign the account to a group.
  7. Click Create to create the account.

Creating a new account group

  1. Login to Infrahub's web interface as an administrator.
  2. Click on Admin in the left side menu.
  3. Navigate to the Role Management section.
  4. In the Groups tab, click on Create Account Group.
  5. Enter a name for the group.
  6. Optionally, assign roles to the group.
  7. Click Create to create the group.

Creating and assigning roles

  1. Login to Infrahub's web interface as an administrator.
  2. Click on Admin in the left side menu.
  3. Navigate to the Role Management section.
  4. In the Roles tab, click on Create Account Role.
  5. Provide a name for the role.
  6. Select the permissions you wish to assign to the role.
  7. Optionally, assign the role to an existing group.
  8. Click Create to create the role.

Managing permissions

Permissions can be managed through roles assigned to users or groups. Infrahub supports Global and Object-specific permissions, allowing fine-grained control over what users can do within the system. For a complete list of available global and object permissions, see the Roles and Permissions documentation.

Creating and global permissions

  1. Login to Infrahub's web interface as an administrator.
  2. Click on Admin in the left side menu.
  3. Navigate to the Role Management section.
  4. In the Global Permissions tab, click on Create Global Permission.
  5. Select the action you which to use.
  6. Select the decision for this action.
  7. Optionally, assign the permission to an existing role.
  8. Click Create to create the permission.

Creating and objects permissions

  1. Login to Infrahub's web interface as an administrator.
  2. Click on Admin in the left side menu.
  3. Navigate to the Role Management section.
  4. In the Objects Permissions tab, click on Create Object Permission..
  5. Provide the namespace and name of the object(s) you want to interact with.
  6. Select the action and decision you wish to use for this permission.
  7. Optionally, assign the permission to an existing role.
  8. Click Create to create the permission.