Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 89097f6

Browse files
committed
fixup! feat: add debug server for tailnet coordinators
1 parent 0c6ec5d commit 89097f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

coderd/coderdtest/authorize.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ func AGPLRoutes(a *AuthTester) (map[string]string, map[string]RouteCheck) {
272272
AssertAction: rbac.ActionRead,
273273
AssertObject: rbac.ResourceTemplate,
274274
},
275+
276+
"GET:/api/v2/debug/coordinator": {
277+
AssertAction: rbac.ActionRead,
278+
AssertObject: rbac.ResourceDebugInfo,
279+
},
275280
}
276281

277282
// Routes like proxy routes support all HTTP methods. A helper func to expand

0 commit comments

Comments
 (0)