MCPcopy Create free account
hub / github.com/angular/dev-infra / isGooglerOrgMember

Function isGooglerOrgMember

ng-dev/utils/git/github-macros.ts:13–24  ·  view source on GitHub ↗
(
  client: AuthenticatedGithubClient,
  username: string,
)

Source from the content-addressed store, hash-verified

11
12/** Result of checking whether a user is a member of the `googlers` GitHub organization. */
13export interface GooglerOrgVerificationResult {
14 /** Whether the user was confirmed to be a member of the `googlers` organization. */
15 isMember: boolean;
16 /**
17 * Whether the authenticated token/account has permission to verify private membership in the
18 * `googlers` organization (as opposed to being redirected to `/public_members/` or rejected).
19 */
20 canVerifyOrg: boolean;
21}
22
23/**
24 * Verifies whether the authenticated client can check private `googlers` organization membership
25 * and whether the specified user is a member of the `googlers` organization.
26 */
27async function verifyGooglerOrgMembership(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected