Skip to content

Commit 515e342

Browse files
committed
WIP
1 parent 8119e71 commit 515e342

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

coderd/coderdtest/authorize.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ func AGPLRoutes(a *AuthTester) (map[string]string, map[string]RouteCheck) {
7575
"POST:/api/v2/workspaceagents/me/version": {NoAuthorize: true},
7676
"POST:/api/v2/workspaceagents/me/app-health": {NoAuthorize: true},
7777
"POST:/api/v2/workspaceagents/me/report-stats": {NoAuthorize: true},
78+
"POST:/api/v2/workspaceagents/me/report-state": {NoAuthorize: true},
7879

7980
// These endpoints have more assertions. This is good, add more endpoints to assert if you can!
8081
"GET:/api/v2/organizations/{organization}": {AssertObject: rbac.ResourceOrganization.WithID(a.Admin.OrganizationID).InOrg(a.Admin.OrganizationID)},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ALTER TABLE workspace_agent DROP COLUMN state;
1+
ALTER TABLE workspace_agents DROP COLUMN state;
22

33
DROP TYPE workspace_agent_state;

0 commit comments

Comments
 (0)