diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b922608aaf..2d26c1a348 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -142,7 +142,7 @@ jobs: # Check for any typos - name: Check for typos - uses: crate-ci/typos@v1.19.0 + uses: crate-ci/typos@v1.20.9 with: config: .github/workflows/typos.toml diff --git a/.github/workflows/typos.toml b/.github/workflows/typos.toml index 57d1b596ed..559260e0f7 100644 --- a/.github/workflows/typos.toml +++ b/.github/workflows/typos.toml @@ -15,6 +15,7 @@ Hashi = "Hashi" trialer = "trialer" encrypter = "encrypter" hel = "hel" # as in helsinki +pn = "pn" # this is used as proto node [files] extend-exclude = [ diff --git a/coderd/authorize.go b/coderd/authorize.go index 19a633bf46..764f573ecf 100644 --- a/coderd/authorize.go +++ b/coderd/authorize.go @@ -190,9 +190,9 @@ func (api *API) checkAuthorization(rw http.ResponseWriter, r *http.Request) { // Only support referencing some resources by ID. switch v.Object.ResourceType.String() { case rbac.ResourceWorkspaceExecution.Type: - wrkSpace, err := api.Database.GetWorkspaceByID(ctx, id) + workSpace, err := api.Database.GetWorkspaceByID(ctx, id) if err == nil { - dbObj = wrkSpace.ExecutionRBAC() + dbObj = workSpace.ExecutionRBAC() } dbErr = err case rbac.ResourceWorkspace.Type: diff --git a/docs/changelogs/v2.9.0.md b/docs/changelogs/v2.9.0.md index 1e28a04d60..0d68325fa4 100644 --- a/docs/changelogs/v2.9.0.md +++ b/docs/changelogs/v2.9.0.md @@ -109,7 +109,7 @@ The following features are hidden or disabled by default as we don't guarantee s - Dashboard: Improve clipboard support on HTTP connections and older browsers (#12178) (@Parkreiner) - Server: Add postgres triggers to remove deleted users from user_links (#12117) (@Emyrk) - Dashboard: Add tests and improve accessibility for useClickable (#12218) (@Parkreiner) -- Server: Ignore surronding whitespace for cli config (#12250) (@Emyrk) +- Server: Ignore surrounding whitespace for cli config (#12250) (@Emyrk) - Tailnet: Stop waiting for Agent in a goroutine in ssh test (#12268) (@spikecurtis) - d4d8424ce fix: fix GetOrganizationsByUserID error when multiple organizations exist (#12257) (@Emyrk) - Server: Refresh entitlements after creating first user (#12285) (@mtojek)