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

Function ACLMappingMatcher

coderd/rbac/regosql/acl_mapping_var.go:53–55  ·  view source on GitHub ↗
(indexMatcher sqltypes.VariableMatcher, selectSQL string, structPath []string)

Source from the content-addressed store, hash-verified

51}
52
53func ACLMappingMatcher(indexMatcher sqltypes.VariableMatcher, selectSQL string, structPath []string) ACLMappingVar {
54 return ACLMappingVar{IndexMatcher: indexMatcher, SelectSQL: selectSQL, StructPath: structPath}
55}
56
57func (g ACLMappingVar) UsingSubfield(subfield string) ACLMappingVar {
58 g.Subfield = subfield

Callers 4

groupACLMatcherFunction · 0.85
userACLMatcherFunction · 0.85
WorkspaceConverterFunction · 0.85
ChatConverterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected