Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwilcox committed Jan 12, 2024
1 parent 1b04646 commit 640542d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions business/features/sudo/sudo.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ Overrides are available to allow the company-specific system to provide the
org sudo instance for an organization, if you wish to implement a different
approach, or use a different company-internal system for these decisions.

### Debug flags

There is an environmental off-switch enabled that can turn off sudo, allowing for testing
as a regular user in local environments. That env variable name is `DEBUG_GITHUB_ORG_SUDO_OFF`.

## portal sudo

Portal sudo applies sudo for all organizations configured within the application.
Expand All @@ -46,7 +41,7 @@ Used by system administrators typically.
The original design was to use the sudo configuration from the first/primary GitHub org
that was configured in the environment.

### Feature flag: FEATURE_FLAG_ALLOW_PORTAL_SUDO
## Feature flag: FEATURE_FLAG_ALLOW_PORTAL_SUDO

> This feature is not on by default.
Expand All @@ -63,7 +58,7 @@ Can be:
For the security group provider, configuration should set `SUDO_PORTAL_SECURITY_GROUP_ID` to the
security group ID to use.

### Debug flags
## Debug flags: portal sudo

Two environment variables designed for development work exist:

Expand Down
1 change: 1 addition & 0 deletions business/organizationCopilot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import type { CollectionCopilotSeatsOptions } from '../lib/github/collections';
import { AppPurpose, AppPurposeTypes } from '../lib/github/appPurposes';
import { CacheDefault, getMaxAgeSeconds, getPageSize, symbolizeApiResponse } from './operations/core';
import { Organization } from './organization';
import { HttpMethod } from '../lib/github';

export type CopilotSeatData = {
assignee: {
Expand Down

0 comments on commit 640542d

Please sign in to comment.