
- Granting a team access at the project level so it automatically covers every workspace in that project (including future ones).
- Granting a team access to specific workspaces for a more granular control, useful for sensitive infrastructure like networking.

- Users → belong to teams.
- Teams → receive permissions.
- Permissions → determine what actions a team (and therefore its members) can perform.

- Permissions are additive. HCP Terraform grants the most permissive effective permission a user has across all their teams. For example, if one team provides read and another provides write to the same workspace, the user receives write access.
- Apply the principle of least privilege. Only grant teams the permissions they actually need, because permissions stack across multiple team memberships.
- Every organization has an Owners team with full admin access across the organization (workspaces, projects, policies, VCS settings, private registry, run tasks, etc.). Owners can manage everything and cannot be deleted. Keep Owners membership small and audit it regularly.

- Team visibility: Teams can be visible (any organization member can see the team and its membership) or secret (only the team members and organization owners can see it). Secret teams are useful for sensitive groups such as security or incident response teams.
- Team API tokens: Each team can generate API tokens for automation (CI/CD, scripts). A team token inherits the same permissions as the team itself. Historically there was a limit of a single token per team, but HCP Terraform now allows multiple team tokens per team (GA feature).

- Organization-level: Broad permissions that apply across the organization (e.g., managing workspaces, policies, VCS settings). The Owners team typically holds these privileges, but you can grant specific organization-level permissions to other teams.
- Project-level: Scoped to a project and all workspaces inside it. Roles can be preset (read, plan, write, admin) or custom. Granting project-level access is an efficient way to manage multiple related workspaces.
- Workspace-level: The most granular scope. Preset roles include read, plan, write, admin, or you can define custom permissions. To perform an apply action, a user/team needs write permission on that workspace.

-
AppOne team:
- Plan access on production AppOne workspaces (they can queue runs/plans but cannot apply).
- Write access on dev workspaces (they can plan and apply in dev).
-
Mobile team:
- Write access on dev mobile workspaces (plan and apply).
- Plan-only access on mobile production workspaces (need approval to apply).

- The relationship between users, teams, and permissions: users join teams; teams receive permissions.
- Every organization has an Owners team with full access; it cannot be deleted.
- The three permission scopes: organization, project, and workspace.
- Permissions are additive: HCP Terraform grants the highest effective permission a user has across team memberships and scopes.