MCPcopy Index your code
hub / github.com/coder/coder / Forbidden

Function Forbidden

coderd/httpapi/httpapi.go:162–164  ·  view source on GitHub ↗
(rw http.ResponseWriter)

Source from the content-addressed store, hash-verified

160}
161
162func Forbidden(rw http.ResponseWriter) {
163 Write(context.Background(), rw, http.StatusForbidden, ResourceForbiddenResponse)
164}
165
166func InternalServerError(rw http.ResponseWriter, err error) {
167 var details string

Callers 15

NewFunction · 0.92
deleteUserMethod · 0.92
putUserRolesMethod · 0.92
deleteTemplateMethod · 0.92
postTestNotificationMethod · 0.92
workspaceMethod · 0.92
putWorkspaceDormantMethod · 0.92
postWorkspaceUsageMethod · 0.92
patchWorkspaceACLMethod · 0.92

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected