Skip to content

Instantly share code, notes, and snippets.

View JennieOhyoung's full-sized avatar

Jennie Ohyoung JennieOhyoung

View GitHub Profile
@JennieOhyoung
JennieOhyoung / Leak_prevention.md
Last active January 5, 2022 22:05
Prevent private data from leaks

There are two sides to this story: one on hand, we should do everything in our power to prevent leaks from happening and on the other, we need to have a mitigation plan to ensure proper take down of all leaked data to minimize impact.

Prevention:

What happens when the fork owner leaves the organization?

When a user is removed from the organization, they will lose access to private forks of your organization’s private repositories, but may still have local copies. However, they cannot sync local copies with your organization’s repositories. See https://help.github.com/en/articles/removing-a-member-from-your-organization

What happens when the fork owner gets re-instated?

Their private forks can be restored if the user is reinstated as an organization member within three months of being removed from the organization. See https://help.github.com/en/articles/reinstating-a-former-member-of-your-organization

What happens when the parent repository gets deleted?

  • If it's a private repository, all of its private forks will be deleted as well.