зеркало из
1
0
Форкнуть 0
opensource-management-portal/config
Jeff Wilcox 7280254b9e opt-in feature: repo lockdown
To work around persistent GitHub bugs we have had the past few years related
to setting the member privilege level for many of our organizations to not
allow members to create repos, we are exploring this new opt-in only feature
flag called "direct new repo lockdown" that will help us to try and experiment
a way to allow our members to directly create repos.

The current prototyping design of this feature is:

1. if a repo is created by a GitHub App (a bot) or an approved system operations account, or the existing new repo workflow, no-op
2. if a repo is created by a member of the GitHub org, the repo is "locked down" - removing their collaborator and team permissions - and they are sent an e-mail asking them to complete the new repo setup by entering into our existing internal wizard for that.

The feature flag must be enabled in 2 places:

1. the app itself must opt in to the feature being available
2. an organization setting must opt in to the feature via configuration

This system requires a few specific parts of the monolithic app to
function: the use of a repository metadata provider (Postgres is what
we are using) to store additional source-of-truth data for a repo,
and also connecting to webhooks either through an org-level webhook
or a GitHub App that has a configured hook.
2019-10-03 15:02:03 -07:00
..
utils Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
activeDirectory.json Adding missing config files 2017-11-07 10:00:11 -08:00
activeDirectoryGuests.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
administrators.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
authentication.json BREAKING CHANGE: Default primary auth -> AAD 2017-06-01 10:43:44 -07:00
authentication.vsts.json Updated configuration graph 2018-05-02 10:20:20 -07:00
brand.json Entity metadata provider refactoring 2019-08-06 16:53:50 -07:00
containers.json Adding missing config files 2017-11-07 10:00:11 -08:00
continuousDeployment.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
corporate.profile.json Configuration Environment System 2017-05-31 08:55:37 -07:00
corporate.trainingResources.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
data.postgres.json TypeScript implementation 2019-04-05 14:45:34 -07:00
debug.json Configuration Environment System 2017-05-31 08:55:37 -07:00
entityProviders.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
features.json opt-in feature: repo lockdown 2019-10-03 15:02:03 -07:00
github.api.json Refactoring 2019-08-26 09:54:28 -07:00
github.app.data.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.app.jobs.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.app.operations.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.app.ui.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.approvalTypes.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.approvals.provider.json TypeScript implementation 2019-04-05 14:45:34 -07:00
github.debug.json Adding missing config files 2017-11-07 10:00:11 -08:00
github.gitignore.json Configuration Environment System 2017-05-31 08:55:37 -07:00
github.jobs.cleanup.json Configuration Environment System 2017-05-31 08:55:37 -07:00
github.jobs.reports.json Configuration Environment System 2017-05-31 08:55:37 -07:00
github.library.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.links.events.json Firing events: link/unlink 2017-08-07 14:35:26 -07:00
github.links.postgres.json TypeScript implementation 2019-04-05 14:45:34 -07:00
github.links.provider.json TypeScript implementation 2019-04-05 14:45:34 -07:00
github.links.table.json Configuration Environment System 2017-05-31 08:55:37 -07:00
github.oauth2.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.operations.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.organizations.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.systemAccounts.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.templates.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
github.user.initialCommit.json Configuration Environment System 2017-05-31 08:55:37 -07:00
github.webhooks.json Configuration Environment System 2017-05-31 08:55:37 -07:00
graph.json Configuration Environment System 2017-05-31 08:55:37 -07:00
impersonation.json Entity metadata provider refactoring 2019-08-06 16:53:50 -07:00
index.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
legalEntities.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
logging.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
mail.json change config name 2019-09-20 13:33:46 +02:00
mailAddresses.json Configuration Environment System 2017-05-31 08:55:37 -07:00
microsoftOpenSource.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
node.json TypeScript implementation 2019-04-05 14:45:34 -07:00
npm.json Configuration Environment System 2017-05-31 08:55:37 -07:00
npm.publishing.json NPM publishing removed for now 2018-05-02 10:21:32 -07:00
redis.json Configuration Environment System 2017-05-31 08:55:37 -07:00
serviceMessage.json Configuration Environment System 2017-05-31 08:55:37 -07:00
session.json TypeScript implementation 2019-04-05 14:45:34 -07:00
telemetry.json TypeScript implementation 2019-04-05 14:45:34 -07:00
typescript.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
userAgent.js Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
webJob.firehose.json Code refresh to support GitHub Apps 2019-10-02 18:41:16 -07:00
webServer.json TypeScript implementation 2019-04-05 14:45:34 -07:00
witness.approval.json Adding missing config files 2017-11-07 10:00:11 -08:00
witness.redis.json Configuration Environment System 2017-05-31 08:55:37 -07:00