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

Method chatSharingDisabled

coderd/exp_chats_acl.go:286–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284}
285
286func (api *API) chatSharingDisabled() bool {
287 return rbac.ChatACLDisabled() || (api.DeploymentValues != nil && bool(api.DeploymentValues.DisableChatSharing))
288}
289
290type ChatACLUpdateValidator codersdk.UpdateChatACL
291

Callers 1

allowChatSharingMethod · 0.95

Calls 1

ChatACLDisabledFunction · 0.92

Tested by

no test coverage detected