Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/api-client/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1628,10 +1628,10 @@ export interface components {
*/
TeamDefaultUserLevel: "member" | "contributor";
/**
* @description Role of a user on a team. Owners administer the team, members see every project, contributors only the projects they are added to.
* @description Role of a user on a team. Owners administer the team, members see every project, contributors only the projects they are added to. Billing members are members who also manage the plan, spend limit and invoices.
* @enum {string}
*/
TeamUserLevel: "owner" | "member" | "contributor";
TeamUserLevel: "owner" | "billing" | "member" | "contributor";
/**
* @description What a project token can do on its projects:
* - `builds:write`: Create, update and finalize builds and their screenshots.
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/commands/account/invite/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type TeamUserLevel = ArgosAPISchema.components["schemas"]["TeamUserLevel"];

const TEAM_USER_LEVELS = [
"owner",
"billing",
"member",
"contributor",
] as const satisfies TeamUserLevel[];
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/commands/account/member/set-level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type TeamUserLevel = ArgosAPISchema.components["schemas"]["TeamUserLevel"];

const TEAM_USER_LEVELS = [
"owner",
"billing",
"member",
"contributor",
] as const satisfies TeamUserLevel[];
Expand Down
8 changes: 5 additions & 3 deletions skills/argos-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,11 @@ argos upload ./screenshots --parallel-nonce $ID --parallel-index $i --parallel-t
argos finalize --parallel-nonce $ID
```

Onboard someone onto a team and a project. Team roles come from `account`,
per-project access from `project contributor`. Owners and members already reach
every project, so only contributors need a grant:
Onboard someone onto a team and a project. Team roles (`owner`, `billing`,
`member`, `contributor`) come from `account`, per-project access from
`project contributor`. `billing` is a member who also manages the plan, spend
limit and invoices. Every role but `contributor` already reaches every project,
so only contributors need a grant:

```bash
argos account invite create dev@acme.com --account acme --level contributor --json
Expand Down
Loading