> Index of every page on this site: [llms.txt](https://docs.a-line.cloud/llms.txt)

# Who can do what

> The role each IaC action needs.

Project links are governed by roles in the project's environment (viewer,
member, admin). Infrastructure links, organization exports and organization
held changes need an organization role. A second-factor check (step-up) is
asked only of users who have two-factor authentication set up.

## Project links

| Action | Who |
| --- | --- |
| See the link, its change sets and its reference grants | Environment viewer |
| Create a project from a repository, or preview it | Environment member |
| Link an existing project to a directory | Environment member; A-Line also needs write access to the repository |
| Move a link to another branch or path | Environment admin, with step-up |
| Unlink a project | Environment admin, with step-up |
| Switch between pull-request and direct mode | Environment admin |
| Write a dashboard edit back, or adopt an app into Git | Environment member |
| Grant or revoke a [reference](/iac/references) to an organization resource | Environment admin; granting needs a signed-in session, not an API key |
| Confirm a held change | Environment member, with step-up |
| Confirm a held change to an app's workload namespace | Environment admin, with step-up |
| Confirm a held change to the project's quotas | Organization admin, with step-up |
| Confirm an app's pending deletion | Environment admin; with step-up when it also deletes buckets |
| Dismiss a held change | Environment member |

Creating from a repository only reads it. Linking an existing project writes
its files to the repository, so A-Line asks for write access first
(`409 github_permissions_required`).

## Infrastructure links

| Action | Who |
| --- | --- |
| See the links and their plans | Organization member |
| Create or remove a link | Organization admin, with step-up |
| Change a link's settings (billable changes without confirmation) | Organization admin, with step-up |
| Start a sync by hand | Organization admin |
| Confirm a held change | Organization admin, with step-up |
| Dismiss a held change | Organization admin |

An infrastructure link needs the GitHub app to read the repository's
contents and write its checks.

Some held changes also ask you to type the resource's name, acknowledge a
commitment or accept terms; see [held changes](/iac/gitops#held).

## Import and export

| Action | Who |
| --- | --- |
| Preview, plan and apply an [import](/iac/import) | An admin of every environment the bundle names |
| Export the organization as a bundle | Organization admin |
| Export a project as files | Environment admin |
