Skip to main content

Como exigir políticas para projetos da sua empresa

Você pode exigir políticas para projects dentro das organizações de sua empresa ou permitir que as políticas sejam definidas em cada organização.

Quem pode usar esse recurso?

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 projects, or you can allow organization owners to manage policies for projects at the organization level.

Enforcing a policy for organization-wide projects

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

  1. In the top-right corner of GitHub, click your profile photo, then click Your enterprises.

  2. In the list of enterprises, click the enterprise you want to view.

  3. On the left side of the page, in the enterprise account sidebar, click Policies.

  4. Under " Policies", click Projects.

  5. Under "Organization projects", review the information about changing the setting. Optionally, to view the current configuration for all organizations in the enterprise account before you change the setting, click View your organizations' current configurations.

    Screenshot of a policy in the enterprise settings. A link, labeled "View your organizations' current configurations", is highlighted with an orange outline.

  6. Under "Organization projects", select the dropdown menu and click a policy.

Enforcing a policy for visibility changes to projects

Across all organizations owned by your enterprise, you can enable or disable the ability for people with admin access to a project to change the visibility of the project, or you can allow owners to administer the setting on the organization level.

  1. In the top-right corner of GitHub, click your profile photo, then click Your enterprises.

  2. In the list of enterprises, click the enterprise you want to view.

  3. On the left side of the page, in the enterprise account sidebar, click Policies.

  4. Under " Policies", click Projects.

  5. Under "Project visibility change permission", review the information about changing the setting. Optionally, to view the current configuration for all organizations in the enterprise account before you change the setting, click View your organizations' current configurations.

    Screenshot of a policy in the enterprise settings. A link, labeled "View your organizations' current configurations", is highlighted with an orange outline.

  6. Select the dropdown menu, then click a policy.