coder/coderd/httpmw
Steven Masley eeb3d63be6
chore: merge authorization contexts (#12816)
* chore: merge authorization contexts

Instead of 2 auth contexts from apikey and dbauthz, merge them to
just use dbauthz. It is annoying to have two.

* fixup authorization reference
2024-03-29 10:14:27 -05:00
..
patternmatcher feat: allow external services to be authable (#9996) 2023-10-03 14:04:39 +00:00
actor.go feat: implement provisioner auth middleware and proper org params (#12330) 2024-03-04 15:15:41 -06:00
actor_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
apikey.go chore: merge authorization contexts (#12816) 2024-03-29 10:14:27 -05:00
apikey_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
authorize_test.go chore: merge authorization contexts (#12816) 2024-03-29 10:14:27 -05:00
authz.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
authz_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
clitelemetry.go refactor(coderd/telemetry): move CLI telemetry to cli/telemetry (#9517) 2023-09-04 21:42:45 +03:00
cors.go chore: move app URL parsing to its own package (#11651) 2024-01-17 10:41:42 -06:00
cors_test.go chore: move app URL parsing to its own package (#11651) 2024-01-17 10:41:42 -06:00
csp.go chore: CORs option for yarn dev server (#7630) 2023-05-22 20:02:39 +02:00
csp_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
csrf.go fix: relax csrf to exclude path based apps (#11430) 2024-01-08 22:33:57 +00:00
csrf_test.go fix: relax csrf to exclude path based apps (#11430) 2024-01-08 22:33:57 +00:00
experiments.go feat: add port-sharing backend (#11939) 2024-02-13 09:31:20 -05:00
externalauthparam.go chore: move `/gitauth` to `/externalauth` on the frontend (#9954) 2023-09-30 14:30:01 -05:00
externalauthparam_test.go chore: move `/gitauth` to `/externalauth` on the frontend (#9954) 2023-09-30 14:30:01 -05:00
groupparam.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
groupparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
hsts.go chore: enable exhaustruct linter (#8403) 2023-07-11 14:30:33 +01:00
hsts_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
httpmw.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
httpmw_internal_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
logger.go feat(coderd/httpmw): log `start` timestamp for http requests (#9776) 2023-09-27 14:39:22 +03:00
oauth2.go feat: add oauth2 token exchange (#12196) 2024-02-20 14:58:43 -09:00
oauth2_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
organizationparam.go feat: implement provisioner auth middleware and proper org params (#12330) 2024-03-04 15:15:41 -06:00
organizationparam_test.go feat: implement provisioner auth middleware and proper org params (#12330) 2024-03-04 15:15:41 -06:00
prometheus.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
prometheus_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
provisionerdaemon.go chore: merge authorization contexts (#12816) 2024-03-29 10:14:27 -05:00
ratelimit.go chore: merge authorization contexts (#12816) 2024-03-29 10:14:27 -05:00
ratelimit_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
realip.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
realip_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
recover.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
recover_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
requestid.go feat: add `request_id` to HTTP trace spans (#10145) 2023-10-09 14:05:10 -05:00
requestid_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
templateparam.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
templateparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
templateversionparam.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
templateversionparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
userparam.go fix: stop leaking User into API handlers unless authorized 2023-10-11 09:41:14 +04:00
userparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
workspaceagent.go fix: ensure agent token is from latest build in middleware (#12443) 2024-03-14 12:27:32 -04:00
workspaceagent_test.go fix: ensure agent token is from latest build in middleware (#12443) 2024-03-14 12:27:32 -04:00
workspaceagentparam.go chore: correct 500 -> 404 on workspace agent mw (#11129) 2023-12-12 15:14:32 -06:00
workspaceagentparam_test.go fix: lower amount of cached timezones for deployment daus (#11196) 2023-12-13 16:50:29 -06:00
workspacebuildparam.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
workspacebuildparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
workspaceparam.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
workspaceparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
workspaceproxy.go chore: merge authorization contexts (#12816) 2024-03-29 10:14:27 -05:00
workspaceproxy_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00
workspaceresourceparam.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
workspaceresourceparam_test.go chore: rename dbfake to dbmem (#10432) 2023-10-30 17:42:20 +00:00