What an agent key can do¶
This page is the agent scope matrix that Hydrata tests on every change (tests/unit/test_agents/test_scope_matrix.py). Each row is one case the test runs: a real request with an agent key, checked against the answer below. The page is generated from the test's own parameters, so it cannot say something the test does not check.
An agent key has one level: Read (look), Draft (also create and change projects, layers and scenarios, no spend) or Launch (also build, prepare terrain and start, retry and cancel runs). A key acts as the person who made it, on the projects that person can see, and never does what only a person may do in the browser: delete or publish a project, review inputs, consent to a run's cost, or share a project. See Agent activity and controls.
In every table, A made the key and B is another person.
Read a project¶
GET /api/v2/anuga/projects/{project}/ (needs Read).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | allowed (200) |
| a live key | A's own project | Draft | allowed (200) |
| a live key | A's own project | Launch | allowed (200) |
| a live key | B's project, A is an Editor | Read | allowed (200) |
| a live key | B's project, A is an Editor | Draft | allowed (200) |
| a live key | B's project, A is an Editor | Launch | allowed (200) |
| a live key | B's project, A is a Viewer | Read | allowed (200) |
| a live key | B's project, A is a Viewer | Draft | allowed (200) |
| a live key | B's project, A is a Viewer | Launch | allowed (200) |
| a live key | B's private project, A is not a member | Read | refused: not found (404), the key's person has no role there |
| a live key | B's private project, A is not a member | Draft | refused: not found (404), the key's person has no role there |
| a live key | B's private project, A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a live key | B's public project, A is not a member | Read | allowed (200) |
| a live key | B's public project, A is not a member | Draft | allowed (200) |
| a live key | B's public project, A is not a member | Launch | allowed (200) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: not found (404), the key's person has no role there |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: not found (404), the key's person has no role there |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Change a scenario¶
PATCH /api/v2/anuga/projects/{project}/scenarios/{scenario}/ (needs Draft).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: the key level is too low (403) |
| a live key | A's own project | Draft | allowed (200) |
| a live key | A's own project | Launch | allowed (200) |
| a live key | B's project, A is an Editor | Read | refused: the key level is too low (403) |
| a live key | B's project, A is an Editor | Draft | allowed (200) |
| a live key | B's project, A is an Editor | Launch | allowed (200) |
| a live key | B's project, A is a Viewer | Read | refused: the key level is too low (403) |
| a live key | B's project, A is a Viewer | Draft | refused: the role on the project is too low (403) |
| a live key | B's project, A is a Viewer | Launch | refused: the role on the project is too low (403) |
| a live key | B's private project, A is not a member | Read | refused: the key level is too low (403) |
| a live key | B's private project, A is not a member | Draft | refused: not found (404), the key's person has no role there |
| a live key | B's private project, A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a live key | B's public project, A is not a member | Read | refused: the key level is too low (403) |
| a live key | B's public project, A is not a member | Draft | refused: not found (404), the key's person has no role there |
| a live key | B's public project, A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key level is too low (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: not found (404), the key's person has no role there |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Start a run (monthly limit $0)¶
POST /api/v2/anuga/scenarios/{scenario}/run/ (needs Launch).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: the key level is too low (403) |
| a live key | A's own project | Draft | refused: the key level is too low (403) |
| a live key | A's own project | Launch | asks the person: 409 with a consent link, nothing starts |
| a live key | B's project, A is an Editor | Read | refused: the key level is too low (403) |
| a live key | B's project, A is an Editor | Draft | refused: the key level is too low (403) |
| a live key | B's project, A is an Editor | Launch | asks the person: 409 with a consent link, nothing starts |
| a live key | B's project, A is a Viewer | Read | refused: the key level is too low (403) |
| a live key | B's project, A is a Viewer | Draft | refused: the key level is too low (403) |
| a live key | B's project, A is a Viewer | Launch | refused: the role on the project is too low (403) |
| a live key | B's private project, A is not a member | Read | refused: the key level is too low (403) |
| a live key | B's private project, A is not a member | Draft | refused: the key level is too low (403) |
| a live key | B's private project, A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a live key | B's public project, A is not a member | Read | refused: the key level is too low (403) |
| a live key | B's public project, A is not a member | Draft | refused: the key level is too low (403) |
| a live key | B's public project, A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key level is too low (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key level is too low (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: not found (404), the key's person has no role there |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Delete a project¶
DELETE /api/v2/anuga/projects/{project}/ (only a person).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Draft | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Publish a project¶
POST /api/v2/anuga/projects/{project}/publish/ (only a person).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Draft | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Review an agent's inputs¶
POST /api/v2/anuga/projects/{project}/input-review/ (only a person).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: only a person reviews inputs, in the browser (403) |
| a live key | A's own project | Draft | refused: only a person reviews inputs, in the browser (403) |
| a live key | A's own project | Launch | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's project, A is an Editor | Read | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's project, A is an Editor | Draft | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's project, A is an Editor | Launch | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's project, A is a Viewer | Read | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's project, A is a Viewer | Draft | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's project, A is a Viewer | Launch | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's private project, A is not a member | Read | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's private project, A is not a member | Draft | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's private project, A is not a member | Launch | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's public project, A is not a member | Read | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's public project, A is not a member | Draft | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's public project, A is not a member | Launch | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: only a person reviews inputs, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: only a person reviews inputs, in the browser (403) |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Consent to a run's cost¶
POST /api/v2/anuga/runs/{run}/consent/ (only a person).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Draft | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Share a project (add a member)¶
POST /api/v2/anuga/projects/{project}/members/ (only a person).
| Key | Project | Level | Answer |
|---|---|---|---|
| a live key | A's own project | Read | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Draft | refused: only a person can do this, in the browser (403) |
| a live key | A's own project | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is an Editor | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's project, A is a Viewer | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's private project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: only a person can do this, in the browser (403) |
| a live key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: only a person can do this, in the browser (403) |
| a revoked key | A's own project | Read | refused: the key is not valid (401) |
| a revoked key | A's own project | Draft | refused: the key is not valid (401) |
| a revoked key | A's own project | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a revoked key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a revoked key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Read | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | A's own project | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is an Editor | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's project, A is a Viewer | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's private project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, A is not a member | Launch | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Read | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Draft | refused: the key is not valid (401) |
| a made-up or tampered key | B's public project, unpublished (an agent made it), A is not a member | Launch | refused: the key is not valid (401) |
Spending: the Launch key's monthly limit¶
A Launch key starts a run only inside the monthly spend limit its person set on the Agents page (default $0). Otherwise nothing starts: the agent gets a 409 with a link, and the person consents in the browser.
| Case | Answer |
|---|---|
| limit $0 (the default), run quoted $5 | asks the person (409, consent link) |
| limit $20, $10 spent this month, run quoted $5 | the run starts (202) |
| limit $20, $18 spent this month, run quoted $5 | asks the person (409, consent link) |
| the run cannot be priced (any limit) | asks the person (409, consent link) |
| a $0 run (the free band), limit $0 | the run starts (202) |
Captured logs never hold an agent key or a presigned upload or download link (checked on every row above).