Skip to content

Commit 096187a

Browse files
committed
fixup! chore: add custom samesite options to auth cookies
1 parent 7cdfbfe commit 096187a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

coderd/httpmw/authz.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,3 @@ func AsAuthzSystem(mws ...func(http.Handler) http.Handler) func(http.Handler) ht
3535
})
3636
}
3737
}
38-
<<<<<<< Updated upstream
39-
=======
40-
41-
// RecordAuthzChecks enables recording all the authorization checks that
42-
// occurred in the processing of a request. This is mostly helpful for debugging
43-
// and understanding what permissions are required for a given action without
44-
// needing to go hunting for checks in the code, where you're quite likely to
45-
// miss something subtle or a check happening somewhere you didn't expect.
46-
func RecordAuthzChecks(next http.Handler) http.Handler {
47-
return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
48-
r = r.WithContext(rbac.WithAuthzCheckRecorder(r.Context()))
49-
next.ServeHTTP(rw, r)
50-
})
51-
}
52-
>>>>>>> Stashed changes

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy