我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

此版本的 GitHub Enterprise 将停止服务 此版本的 GitHub Enterprise 已停止服务 2020-11-12. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

Reinstating a former outside collaborator's access to your organization

If you required two-factor authentication in your organization and an outside collaborator was removed from the organization for not having 2FA enabled, you can reinstate a former outside collaborator's access permissions for organization repositories, forks, and settings.

此文档对您有帮助吗?

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。

If an outside collaborator's access to your organization's private repositories is removed because you've required members and outside collaborators to enable two-factor authentication, the user's access privileges and settings are saved for three months. You can restore the user's privileges if you add them back to the organization within that time frame.

When you reinstate a former outside collaborator, you can restore:

  • The user's former access to organization repositories
  • Any private forks of repositories owned by the organization
  • Membership in the organization's teams
  • Previous access and permissions for the organization's repositories
  • Stars for organization repositories
  • Issue assignments in the organization
  • Repository subscriptions (notification settings for watching, not watching, or ignoring a repository's activity)

Tips:

  • Only organization owners can reinstate outside collaborators' access to an organization. For more information, see "Permission levels for an organization."
  • The reinstating a member flow on your GitHub Enterprise Server instance may use the term "member" to describe reinstating an outside collaborator but if you reinstate this person and keep their previous privileges, they will only have their previous outside collaborator permissions.
  1. 在 GitHub Enterprise 的右上角,单击您的个人资料照片,然后单击 Your profile(您的个人资料)

    Profile photo

  2. 在您的个人资料页面左侧的“Organizations(组织)”下,单击组织的图标。

    组织图标

  3. 在组织名称下,单击 People(人员)

    人员选项卡

  4. 在 People(人员)选项卡上,单击 Add member(添加成员)

    Add member button

  5. 输入您要恢复的人员的用户名,然后单击 Invite(邀请)

  6. Choose to restore the outside collaborator's previous privileges in the organization by clicking Add and reinstate or choose to clear their previous privileges and set new access permissions by clicking Add and start fresh.

    Warning: If you want to upgrade the outside collaborator to a member of your organization, then choose Add and start fresh and choose a new role for this person. Note, however, that this person's private forks of your organization's repositories will be lost if you choose to start fresh. To make the former outside collaborator a member of your organization and keep their private forks, choose Add and reinstate instead. Then, you can convert them to an organization member by adding them to the organization as a member.

    Choose to restore settings or not

  7. If you cleared the previous privileges for a former outside collaborator, choose a role for the user and optionally add them to some teams, then click Add member.

    Role and team options and add member button

Further Reading

此文档对您有帮助吗?

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。