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

Function ConfigWithACL

coderd/rbac/authz.go:698–702  ·  view source on GitHub ↗

ConfigWithACL is the basic configuration for converting rego to SQL when the object has group and user ACL fields.

()

Source from the content-addressed store, hash-verified

696// ConfigWithACL is the basic configuration for converting rego to SQL when
697// the object has group and user ACL fields.
698func ConfigWithACL() regosql.ConvertConfig {
699 return regosql.ConvertConfig{
700 VariableConverter: regosql.DefaultVariableConverter(),
701 }
702}
703
704// ConfigWithoutACL is the basic configuration for converting rego to SQL when
705// the object has no ACL fields.

Callers 1

testAuthorizeFunction · 0.85

Calls 1

DefaultVariableConverterFunction · 0.92

Tested by 1

testAuthorizeFunction · 0.68