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

Function ChatACLDisabled

coderd/rbac/object.go:267–269  ·  view source on GitHub ↗

ChatACLDisabled is global because database model methods build RBAC objects without API instance state.

()

Source from the content-addressed store, hash-verified

265// ChatACLDisabled is global because database model methods build RBAC
266// objects without API instance state.
267func ChatACLDisabled() bool {
268 return chatACLDisabled.Load()
269}

Callers 5

TestChatSharingDisabledFunction · 0.92
chatSharingDisabledMethod · 0.92
RBACObjectMethod · 0.92
UpdateChatACLByIDMethod · 0.92
ConfigChatsFunction · 0.85

Calls 1

LoadMethod · 0.45

Tested by 1

TestChatSharingDisabledFunction · 0.74