Accounts and Teams
Not included in DVARA Open Source.
Without a licence, an install has one account and one team; adding more requires a licence. See Limits without a licence.
DVARA governs AI traffic per workspace. Above the workspace sit a team and an account:
Account → Team → Workspace
- A workspace holds the API keys, governance settings, policies, budgets and audit trail.
- A team groups workspaces. Team membership determines which workspaces a person can select; environment roles determine their access within them.
- An account holds teams. It is the licensee on a self-managed install.
Team and account rate limits narrow every workspace underneath.
Until you add your own, every workspace is in the Default account and the Default team, which Flightdeck creates with the first workspace.
Who can use these pages
| Role | Accounts and Teams pages |
|---|---|
owner | Read and change |
policy-admin, billing-admin | Read |
| Workspace roles | No access. They see the result in Flightdeck's workspace switcher. |
Create an account and drill into its teams
- Open Access → Accounts, then New and enter the account name.
- Open the account's detail page to review its teams, status and account rate limit.
- Use New from that account to create a team, then open the team's detail page to review its workspaces, members and team rate limit.
Each level has its own page and breadcrumbs back to its parent. Set account and team rate limits on their detail pages. Create or open a workspace from its team to continue the drill-down.
Move a workspace into a team
On a team's page, under Workspaces, pick a workspace in Move a workspace into this team and select Move here.
- The workspace keeps its keys, settings, policies, budgets and history. Only its team changes, so the team and account rate limits above it change too.
- People who were looking at it in Flightdeck and are not in the new team are switched to another of their workspaces.
- If one of them has no other workspace, the move is refused and nothing changes. The message names them: add them to the new team first, or give them another workspace.
Add people to a team
A person can be in more than one team. On a team's page, under Members, enter their email and select Add. They can now use the Flightdeck workspace switcher to open any workspace in that team. Once they belong to more than one team, each option appears as Team / workspace.
- The team of the workspace a person was created in is their home team, marked on the members list. It is not removed here.
- Remove takes a team away. If they were viewing one of its workspaces, Flightdeck switches them to a workspace in their home team.
- Platform users (
owner,policy-admin,billing-admin) reach every workspace by role and are not added to teams.
A person in team A cannot open a workspace in team B until they are added to B. A switch to any other workspace is refused with 403 and recorded as WORKSPACE_SWITCH_REFUSED.
Disable an account or a team
Disable is reversible and stops growth, not traffic:
- A disabled account takes no new team, and no workspace can be moved into its teams.
- A disabled team takes no new workspace and no new member.
- Their workspaces keep serving Gateway traffic. Enable undoes it.
- The Default account and team cannot be disabled, because a workspace created without a team joins them.
Assign environments separately
Development, staging and production are environment kinds, not a required set of teams or workspaces. An owner gives environments to workspaces and assigns member roles per environment. Moving a workspace to a team does not move those assignments. See clusters and environments.
The account Funnel page and Platform badge were removed in 1.15.0.
Limits without a licence
| No licence | Valid licence | Expired licence | |
|---|---|---|---|
| Accounts | 1 (Default); another is refused | Any number | Existing ones kept; no new one |
| Teams | 1 (Default); another is refused | Any number | Existing ones kept; no new one |
| Workspaces | 3 | Any number | Existing ones kept; a new one only while there are fewer than 3 |
Renaming, disabling, moving workspaces and adding people are never limited. A refused account or team shows the reason on the page and records ACCOUNT_LIMIT_REACHED or TEAM_LIMIT_REACHED in the audit log. A licence set on the Licence page lifts the limit at once, with no restart.
Audit events
| Event | When |
|---|---|
ACCOUNT_CREATED, ACCOUNT_RENAMED, ACCOUNT_DISABLED, ACCOUNT_ENABLED | An owner changes an account |
TEAM_CREATED, TEAM_RENAMED, TEAM_DISABLED, TEAM_ENABLED | An owner changes a team |
WORKSPACE_MOVED | A workspace moved to another team |
TEAM_MEMBER_ADDED, TEAM_MEMBER_REMOVED | Someone was added to or removed from a team |
ACCOUNT_LIMIT_REACHED, TEAM_LIMIT_REACHED | A new account or team was refused by the licence limit, from this page or a configuration import |
Configuration as code
A configuration export carries accounts, teams and team_members, so an import restores every team with its workspaces and people.