MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / isMemberApprovalRequired

Function isMemberApprovalRequired

packages/shared/src/utils.ts:140–146  ·  view source on GitHub ↗
(org: Org)

Source from the content-addressed store, hash-verified

138}
139
140export const isMemberApprovalRequired = (org: Org): boolean => {
141 if (env.REQUIRE_APPROVAL_NEW_MEMBERS !== undefined) {
142 return env.REQUIRE_APPROVAL_NEW_MEMBERS === 'true';
143 }
144
145 return org.memberApprovalRequired;
146}

Callers 4

joinOrganizationFunction · 0.90
LayoutFunction · 0.90
page.tsxFile · 0.90
AccessSettingsStepFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected