> ## Documentation Index
> Fetch the complete documentation index at: https://ona.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage groups

<Note>Available on the Enterprise plan. [Contact sales](https://ona.com/contact/sales) to learn more.</Note>

Groups let you manage access to projects and runners at scale. You can share resources with individual users for direct access, or assign members to groups and share resources with those groups for easier management of larger teams. Groups control access; they don't track usage. To attribute credit consumption or set per-team budgets, use [teams](/ona/organizations/teams) instead. See [Groups vs. teams](/ona/organizations/overview#groups-vs-teams) for a side-by-side comparison.

<img src="https://mintcdn.com/gitpod-13c83c2b/p3fxpb4g8LzRcRvi/images/docs/flex/organizations/groups/groups-overview.webp?fit=max&auto=format&n=p3fxpb4g8LzRcRvi&q=85&s=047138b0ed7fc4afa54193d7cc095c46" alt="Groups table showing groups with organization role columns" width="3633" height="2624" data-path="images/docs/flex/organizations/groups/groups-overview.webp" />

## How access works

When you create a project, you automatically become its admin. Only you and organization admins can access it initially. To share with your team, either:

* Share with specific users or groups (recommended for controlled access)
* Grant access to everyone in the organization

<Warning>
  For team members to use a project, they need access to **both** the project and at least one runner the project uses.
</Warning>

The Share dialog warns you when this might be an issue.

<img src="https://mintcdn.com/gitpod-13c83c2b/p3fxpb4g8LzRcRvi/images/docs/flex/organizations/groups/warning-unshare.png?fit=max&auto=format&n=p3fxpb4g8LzRcRvi&q=85&s=60ed885a9e401a3fedfbde1f7186979a" alt="Warning message about access dependencies when sharing resources" width="2396" height="1588" data-path="images/docs/flex/organizations/groups/warning-unshare.png" />

## Managing groups

### Create a group

1. Go to **Settings → Members → Groups**
2. Click **New Group**
3. Enter a name and optional description
4. Optionally add members during creation
5. Click **Create**

<img src="https://mintcdn.com/gitpod-13c83c2b/p3fxpb4g8LzRcRvi/images/docs/flex/organizations/groups/create-new-group.png?fit=max&auto=format&n=p3fxpb4g8LzRcRvi&q=85&s=359b33782c61725417fdb0ed65d14597" alt="New group creation dialog with name, description, and member selection fields" width="2728" height="1920" data-path="images/docs/flex/organizations/groups/create-new-group.png" />

### Add members

1. Click on the group
2. Click **Add People**
3. Select members and click **Add**

<img src="https://mintcdn.com/gitpod-13c83c2b/p3fxpb4g8LzRcRvi/images/docs/flex/organizations/groups/add-members.png?fit=max&auto=format&n=p3fxpb4g8LzRcRvi&q=85&s=e14d69c63f7e9829ddf8ab6a1cbf7861" alt="Add People dialog showing member search and selection interface" width="2728" height="1920" data-path="images/docs/flex/organizations/groups/add-members.png" />

### Remove members

1. Open the group
2. Select members using checkboxes
3. Click **Remove**

Members immediately lose access to resources shared exclusively with that group.

<img src="https://mintcdn.com/gitpod-13c83c2b/p3fxpb4g8LzRcRvi/images/docs/flex/organizations/groups/group-details.png?fit=max&auto=format&n=p3fxpb4g8LzRcRvi&q=85&s=1ad5eacfe1d353e73f7482afcb7fb5e1" alt="Group details page showing member list with selection checkboxes" width="2728" height="1920" data-path="images/docs/flex/organizations/groups/group-details.png" />

### Delete a group

1. Open the group
2. Click **⋯** → **Delete**
3. Confirm

<Warning>
  Deletion is permanent. Members lose access to resources shared only with this group.
</Warning>

## Organization roles

Groups can be assigned organization-wide roles, giving all members role-specific access to resources across the entire organization.

| Role                  | Access granted                                    |
| --------------------- | ------------------------------------------------- |
| **Runners Admin**     | All runners                                       |
| **Projects Admin**    | All projects                                      |
| **Groups Admin**      | All groups                                        |
| **Automations Admin** | All automations                                   |
| **Insights Viewer**   | Read-only access to Insights                      |
| **Audit Log Reader**  | Read-only access to audit logs                    |
| **Billing Viewer**    | Read-only access to billing and usage information |

To assign organization roles to a group, see [Assign an organization role](/ona/organizations/organization-roles#assign-an-organization-role).

For detailed permissions and use cases, see [Organization roles](/ona/organizations/organization-roles).

## Roles and Permissions

The roles below apply to individual resources (projects, runners, automations) and are distinct from the organization-wide roles described above.

When you assign a role to a user or group on a resource, they receive the permissions associated with that role. For groups, all members receive the assigned permissions.

### Project Roles

The following table outlines the specific permissions for each role on projects:

| Permission                                                    | User                  | Editor                | Admin                 |
| ------------------------------------------------------------- | --------------------- | --------------------- | --------------------- |
| **Read Access**                                               |                       |                       |                       |
| Read project (view details, settings, configuration)          | <Icon icon="check" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Read secrets (names only, not values)                         | <Icon icon="check" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Read environment classes (see which runners the project uses) | <Icon icon="check" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Read prebuilds (view prebuild configurations and history)     | <Icon icon="check" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| **Write Access**                                              |                       |                       |                       |
| Update project (modify settings and configuration)            | <Icon icon="xmark" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Delete project                                                | <Icon icon="xmark" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Create prebuilds                                              | <Icon icon="check" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Update/delete prebuilds                                       | <Icon icon="xmark" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Create/update/delete secrets (full access including values)   | <Icon icon="xmark" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| Create/update/delete environment classes (configure runners)  | <Icon icon="xmark" /> | <Icon icon="check" /> | <Icon icon="check" /> |
| **Admin Access**                                              |                       |                       |                       |
| Grant access (share project with users and groups)            | <Icon icon="xmark" /> | <Icon icon="xmark" /> | <Icon icon="check" /> |

<Note>
  Editors can delete projects. Grant Editor access only to trusted team members who need full management capabilities.
</Note>

### Runner Roles

The following table outlines the specific permissions for each role on runners:

| Permission                                               | User                  | Admin                 |
| -------------------------------------------------------- | --------------------- | --------------------- |
| **Read Access**                                          |                       |                       |
| Read runner (view details, status, configuration)        | <Icon icon="check" /> | <Icon icon="check" /> |
| Read environment classes (view available machine types)  | <Icon icon="check" /> | <Icon icon="check" /> |
| Read SCM integrations (view source control integrations) | <Icon icon="check" /> | <Icon icon="check" /> |
| Read/use LLM integrations (view and use AI/LLM features) | <Icon icon="check" /> | <Icon icon="check" /> |
| **Usage**                                                |                       |                       |
| Create environments on this runner                       | <Icon icon="check" /> | <Icon icon="check" /> |
| Create agent executions (use AI agent features)          | <Icon icon="check" /> | <Icon icon="check" /> |
| Create host authentication tokens                        | <Icon icon="check" /> | <Icon icon="check" /> |
| **Write Access**                                         |                       |                       |
| Update runner (modify configuration and settings)        | <Icon icon="xmark" /> | <Icon icon="check" /> |
| Delete runner                                            | <Icon icon="xmark" /> | <Icon icon="check" /> |
| Create/update/delete environment classes                 | <Icon icon="xmark" /> | <Icon icon="check" /> |
| Create/update/delete SCM integrations                    | <Icon icon="xmark" /> | <Icon icon="check" /> |
| Create/update/delete LLM integrations                    | <Icon icon="xmark" /> | <Icon icon="check" /> |
| **Admin Access**                                         |                       |                       |
| Grant access (share runner with users and groups)        | <Icon icon="xmark" /> | <Icon icon="check" /> |
| Create runner tokens (for runner registration)           | <Icon icon="xmark" /> | <Icon icon="check" /> |
| Access runner logs                                       | <Icon icon="xmark" /> | <Icon icon="check" /> |

### Automation Roles

Automations can be shared with individual users or groups using the **Executor** role. See [Sharing Automations](/ona/automations/sharing-automations) for details.

| Permission                                         | Executor              |
| -------------------------------------------------- | --------------------- |
| **Read Access**                                    |                       |
| View automation (name, description, steps)         | <Icon icon="check" /> |
| View own executions                                | <Icon icon="check" /> |
| View other users' executions                       | <Icon icon="xmark" /> |
| **Usage**                                          |                       |
| Run automation on accessible projects/repositories | <Icon icon="check" /> |
| **Write Access**                                   |                       |
| Edit automation                                    | <Icon icon="xmark" /> |
| Delete automation                                  | <Icon icon="xmark" /> |
| **Admin Access**                                   |                       |
| Share automation with users and groups             | <Icon icon="xmark" /> |

<Note>
  Organization admins have full access to all automations, including the ability to create, edit, delete, share, and view all executions.
</Note>

### Permission Inheritance

* **Direct and group access**: When a user has both direct access and group-based access to a resource, they receive the union of all permissions. The highest permission level applies.
* **Multiple groups**: When a user belongs to multiple groups with access to the same resource, they receive the union of all permissions from those groups.
* **Organization admins**: All org admins automatically have Admin permissions on all projects, runners, and automations, regardless of direct or group-based access.
* **Resource creators**: Project creators automatically become project admins and can share their projects with other users and groups.

## Best Practices

### Organize Groups by Function

Create groups that reflect how your team works:

* **By team**: "Frontend Team," "Backend Team," "DevOps"
* **By role**: "Developers," "Designers," "Product Managers"
* **By project**: "Mobile App Team," "API Team"

### Use Descriptive Names and Descriptions

Help others understand what each group is for:

* <Icon icon="check" /> "Backend Engineers - API and Database Development"
* <Icon icon="xmark" /> "Group 1"

### Start with Restrictive Access

Begin by sharing resources with specific users or groups. You can always expand access later:

1. Share with individual users for small teams or specific collaborators
2. Create groups for larger teams with similar access needs
3. Share resources with relevant users and groups
4. Adjust permissions based on feedback
5. Expand to organization-wide access if needed

### Review Access Regularly

Periodically review who has access to your resources:

* Check group memberships when people change roles
* Remove access for team members who no longer need it
* Update permission levels as responsibilities change

### Consider Runner Dependencies

Before restricting runner access:

1. Identify which projects use the runner
2. Ensure all project users also have runner access
3. Communicate changes to affected teams

### Use the Right Permission Level

Grant the minimum permissions needed:

* Most team members need **User** access
* Team leads or maintainers need **Editor** access
* Only a few people need **Admin** access

Review the detailed permissions in the "Roles and Permissions" section to understand what each role can do.

## FAQ

<Accordion title="Can someone be in multiple groups?">
  Yes, team members can belong to multiple groups. They'll receive the combined permissions from all their groups. If someone has User access through one group and Admin access through another, they effectively have Admin access.
</Accordion>

<Accordion title="What happens when I delete a group?">
  All members lose access to resources that were shared exclusively with that group. Resources shared with other groups or with everyone in the organization remain accessible. The group deletion is permanent and cannot be undone.
</Accordion>

<Accordion title="I can see a project but can't create environments. Why?">
  This usually means you have access to the project but not to any of the runners it uses. Contact your organization admin to request runner access.
</Accordion>

<Accordion title="I added someone to a group but they still can't access a resource. What should I check?">
  Verify that the resource is shared with the group, the person has runner access if needed, they've refreshed their browser, and check for any error messages.
</Accordion>

<Accordion title="I removed someone from a group but they still have access. Why?">
  They might have direct user access, be in another group with access, be included in "Everyone in Organization" access, or be an organization administrator.
</Accordion>

<Accordion title="I can't create or edit groups. What do I need?">
  Creating and managing groups requires organization admin permissions. Contact your organization admin if you need to manage groups.
</Accordion>

<Accordion title="After sharing a runner, team members still can't use a project. What's wrong?">
  Verify the project uses that runner, team members have project access, they're in the shared group, and no policies are blocking access.
</Accordion>

<Accordion title="Can I see who has access to a resource?">
  Yes, open the Share dialog for any resource to see which users and groups have access and their permission levels. You can view groups to see their members.
</Accordion>

<Accordion title="What happens if I delete a runner that projects depend on?">
  Projects configured to use that runner will no longer be able to create environments using that runner's environment classes. If the project has other environment classes from different runners, those will still work. If it was the only runner, the project becomes unusable until you configure it with a new runner.
</Accordion>
