Skip to content

Commit d7ee101

Browse files
authored
feat: add endpoint for retrieving workspace acl (#19375)
Implements `/acl [get]` for workspaces, with tests. Blocked by experiment enablement
1 parent 86e401d commit d7ee101

File tree

20 files changed

+779
-69
lines changed

20 files changed

+779
-69
lines changed

coderd/apidoc/docs.go

Lines changed: 141 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 128 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/coderd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,7 @@ func New(options *Options) *API {
14481448
httpmw.RequireExperiment(api.Experiments, codersdk.ExperimentWorkspaceSharing),
14491449
)
14501450

1451+
r.Get("/", api.workspaceACL)
14511452
r.Patch("/", api.patchWorkspaceACL)
14521453
})
14531454
})

0 commit comments

Comments
 (0)