feat: add chat sharing foundation (#25041)

This commit is contained in:
Danielle Maywood
2026-05-18 22:32:05 +01:00
committed by GitHub
parent 2732378da2
commit 170a6e1fe9
49 changed files with 1872 additions and 103 deletions
+14
View File
@@ -253,3 +253,17 @@ func SetWorkspaceACLDisabled(v bool) {
func WorkspaceACLDisabled() bool {
return workspaceACLDisabled.Load()
}
var chatACLDisabled atomic.Bool
// SetChatACLDisabled is global because database model methods build
// RBAC objects without API instance state.
func SetChatACLDisabled(v bool) {
chatACLDisabled.Store(v)
}
// ChatACLDisabled is global because database model methods build RBAC
// objects without API instance state.
func ChatACLDisabled() bool {
return chatACLDisabled.Load()
}