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

Function SetWorkspaceACLDisabled

coderd/rbac/object.go:247–249  ·  view source on GitHub ↗

SetWorkspaceACLDisabled disables/enables workspace sharing for the deployment.

(v bool)

Source from the content-addressed store, hash-verified

245// SetWorkspaceACLDisabled disables/enables workspace sharing for the
246// deployment.
247func SetWorkspaceACLDisabled(v bool) {
248 workspaceACLDisabled.Store(v)
249}
250
251// WorkspaceACLDisabled returns true if workspace sharing is disabled
252// for the deployment.

Callers 4

NewFunction · 0.92
TestUpdateWorkspaceACLFunction · 0.92
TestWorkspaceACLDisabledFunction · 0.92

Calls 1

StoreMethod · 0.45

Tested by 3

TestUpdateWorkspaceACLFunction · 0.74
TestWorkspaceACLDisabledFunction · 0.74