Skip to content

Commit 74bf3fd

Browse files
committed
WIP
1 parent 4da0573 commit 74bf3fd

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
@@ -72,6 +72,7 @@ func AGPLRoutes(a *AuthTester) (map[string]string, map[string]RouteCheck) {
7272
"POST:/api/v2/workspaceagents/me/version": {NoAuthorize: true},
7373
"POST:/api/v2/workspaceagents/me/app-health": {NoAuthorize: true},
7474
"POST:/api/v2/workspaceagents/me/report-stats": {NoAuthorize: true},
75+
"POST:/api/v2/workspaceagents/me/report-state": {NoAuthorize: true},
7576

7677
// These endpoints have more assertions. This is good, add more endpoints to assert if you can!
7778
"GET:/api/v2/organizations/{organization}": {AssertObject: rbac.ResourceOrganization.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)