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

Function GetAuthzCheckRecorder

coderd/rbac/authz.go:910–917  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

908}
909
910func GetAuthzCheckRecorder(ctx context.Context) (*AuthzCheckRecorder, bool) {
911 checks, ok := ctx.Value(authzCheckRecorderKey{}).(*AuthzCheckRecorder)
912 if !ok {
913 return nil, false
914 }
915
916 return checks, true
917}
918
919// String serializes all of the checks recorded, using the following syntax:
920func (r *AuthzCheckRecorder) String() string {

Callers 1

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected