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

Function ConfigChats

coderd/rbac/authz.go:714–722  ·  view source on GitHub ↗

ConfigChats uses a resource converter so SQL filters qualify chat ACL columns consistently with GetChats.

()

Source from the content-addressed store, hash-verified

712// ConfigChats uses a resource converter so SQL filters qualify chat
713// ACL columns consistently with GetChats.
714func ConfigChats() regosql.ConvertConfig {
715 converter := regosql.ChatConverter()
716 if ChatACLDisabled() {
717 converter = regosql.ChatNoACLConverter()
718 }
719 return regosql.ConvertConfig{
720 VariableConverter: converter,
721 }
722}
723
724func ConfigWorkspaces() regosql.ConvertConfig {
725 return regosql.ConvertConfig{

Callers 2

GetAuthorizedChatsMethod · 0.92

Calls 3

ChatConverterFunction · 0.92
ChatNoACLConverterFunction · 0.92
ChatACLDisabledFunction · 0.85

Tested by

no test coverage detected