File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,3 @@ func AsAuthzSystem(mws ...func(http.Handler) http.Handler) func(http.Handler) ht
35
35
})
36
36
}
37
37
}
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
You can’t perform that action at this time.
0 commit comments