MCPcopy Create free account
hub / github.com/coder/coder / ConfigWithoutACL

Function ConfigWithoutACL

coderd/rbac/authz.go:706–710  ·  view source on GitHub ↗

ConfigWithoutACL is the basic configuration for converting rego to SQL when the object has no ACL fields.

()

Source from the content-addressed store, hash-verified

704// ConfigWithoutACL is the basic configuration for converting rego to SQL when
705// the object has no ACL fields.
706func ConfigWithoutACL() regosql.ConvertConfig {
707 return regosql.ConvertConfig{
708 VariableConverter: regosql.NoACLConverter(),
709 }
710}
711
712// ConfigChats uses a resource converter so SQL filters qualify chat
713// ACL columns consistently with GetChats.

Callers

nothing calls this directly

Calls 1

NoACLConverterFunction · 0.92

Tested by

no test coverage detected