Skip to main content

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

Enforcing policies for projects in your enterprise

You can enforce policies for 项目版块 within your enterprise's organizations, or allow policies to be set in each organization.

Who can use this feature

Enterprise owners can enforce policies for projects in an enterprise.

About policies for projects in your enterprise

You can enforce policies to control how enterprise members manage 项目版块, or you can allow organization owners to manage policies for 项目版块 at the organization level.For more information, see "About project boards."

Enforcing a policy for organization-wide projects

Across all organizations owned by your enterprise, you can enable or disable organization-wide project boards, or allow owners to administer the setting on the organization level.

  1. 在 GitHub Enterprise Server 的右上角,单击� 的个人资料照片,然后单击“企业设置”。 GitHub Enterprise Server 上个人资料照片下拉菜单中的“企业设置”
  2. 在企业边� �中,单击 “策略”。 企业帐户边� �中的“策略”选项卡
  3. 在左侧边� �中,单击“项目”。 在企业帐户设置侧边� �中的“项目”选项卡
  4. Under "Organization projects", review the information about changing the setting. (可选)若要在更改设置之前查看企业帐户中所有组织的当前配置,请单击 查看组织的当前配置查看企业中组织的当前策略配置的链接
  5. Under "Organization projects", use the drop-down menu and choose a policy. Drop-down menu with organization project board policy options

Enforcing policies for project boards

Some policies apply only to project boards.

Enforcing a policy for repository projects

Across all organizations owned by your enterprise, you can enable or disable repository-level projects, or allow owners to administer the setting at the organization level.

  1. 在 GitHub Enterprise Server 的右上角,单击� 的个人资料照片,然后单击“企业设置”。 GitHub Enterprise Server 上个人资料照片下拉菜单中的“企业设置”

  2. 在企业边� �中,单击 “策略”。 企业帐户边� �中的“策略”选项卡

  3. 在左侧边� �中,单击“项目”。 在企业帐户设置侧边� �中的“项目”选项卡

  4. Under "Repository projects", review the information about changing the setting. (可选)若要在更改设置之前查看企业帐户中所有组织的当前配置,请单击 查看组织的当前配置查看企业中组织的当前策略配置的链接

  5. Under "Repository projects", use the drop-down menu and choose a policy.

    Drop-down menu with repository project board policy options