Skip to content

Commit fd8ebcd

Browse files
authored
Enterprise policy for project visibility changes (github#30482)
1 parent a76e701 commit fd8ebcd

File tree

10 files changed

+93
-56
lines changed

10 files changed

+93
-56
lines changed
55.7 KB
Loading

content/admin/guides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ includeGuides:
9999
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-dependency-insights-in-your-enterprise
100100
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise
101101
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise
102-
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise
102+
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise
103103
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise
104104
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-team-policies-in-your-enterprise
105105
- /admin/policies/enforcing-policies-for-your-enterprise/restricting-email-notifications-for-your-enterprise

content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ Before you'll see `git` category actions, you must enable Git events in the audi
796796

797797
| Action | Description
798798
|--------|-------------
799-
| `organization_projects_change.clear` | An enterprise owner{% ifversion ghes %} or site administrator{% endif %} cleared the policy setting for organization-wide project boards in an enterprise. For more information, see "[Enforcing a policy for organization-wide project boards](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise#enforcing-a-policy-for-organization-wide-project-boards)."
800-
| `organization_projects_change.disable` | Organization projects were disabled for all organizations in an enterprise. For more information, see "[Enforcing a policy for organization-wide project boards](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise#enforcing-a-policy-for-organization-wide-project-boards)."
801-
| `organization_projects_change.enable` | Organization projects were enabled for all organizations in an enterprise. For more information, see "[Enforcing a policy for organization-wide project boards](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise#enforcing-a-policy-for-organization-wide-project-boards)."
799+
| `organization_projects_change.clear` | An enterprise owner{% ifversion ghes %} or site administrator{% endif %} cleared the policy setting for organization-wide project boards in an enterprise. For more information, see "[Enforcing policies for projects in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise#enforcing-a-policy-for-organization-wide-project-boards)."
800+
| `organization_projects_change.disable` | Organization projects were disabled for all organizations in an enterprise. For more information, see "[Enforcing policies for projects in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise#enforcing-a-policy-for-organization-wide-project-boards)."
801+
| `organization_projects_change.enable` | Organization projects were enabled for all organizations in an enterprise. For more information, see "[Enforcing policies for projects in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise#enforcing-a-policy-for-organization-wide-project-boards)."
802802
{%- endif %}
803803

804804
## `packages` category actions
@@ -1113,7 +1113,7 @@ Before you'll see `git` category actions, you must enable Git events in the audi
11131113

11141114
| Action | Description
11151115
|--------|-------------
1116-
| `repository_projects_change.clear` | The repository projects policy was removed for an organization, or all organizations in the enterprise. Organization admins can now control their repository projects settings. For more information, see "[Enforcing project board policies in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise)."
1116+
| `repository_projects_change.clear` | The repository projects policy was removed for an organization, or all organizations in the enterprise. Organization admins can now control their repository projects settings. For more information, see "[Enforcing policies for projects in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise)."
11171117
| `repository_projects_change.disable` | Repository projects were disabled for a repository, all repositories in an organization, or all organizations in an enterprise.
11181118
| `repository_projects_change.enable` | Repository projects were enabled for a repository, all repositories in an organization, or all organizations in an enterprise.
11191119

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: Enforcing policies for projects in your enterprise
3+
intro: 'You can enforce policies for {% data variables.projects.projects_v2_and_v1 %} within your enterprise''s organizations, or allow policies to be set in each organization.'
4+
permissions: Enterprise owners can enforce policies for projects in an enterprise.
5+
redirect_from:
6+
- /articles/enforcing-project-board-settings-for-organizations-in-your-business-account
7+
- /articles/enforcing-project-board-policies-for-organizations-in-your-enterprise-account
8+
- /articles/enforcing-project-board-policies-in-your-enterprise-account
9+
- /github/setting-up-and-managing-your-enterprise-account/enforcing-project-board-policies-in-your-enterprise-account
10+
- /github/setting-up-and-managing-your-enterprise/enforcing-project-board-policies-in-your-enterprise-account
11+
- /github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account/enforcing-project-board-policies-in-your-enterprise-account
12+
- /admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise
13+
versions:
14+
ghec: '*'
15+
ghes: '*'
16+
ghae: '*'
17+
type: how_to
18+
topics:
19+
- Enterprise
20+
- Policies
21+
- Projects
22+
shortTitle: Project board policies
23+
---
24+
25+
## About policies for projects in your enterprise
26+
27+
You can enforce policies to control how enterprise members manage {% data variables.projects.projects_v2_and_v1 %}, or you can allow organization owners to manage policies for {% data variables.projects.projects_v2_and_v1 %} at the organization level.{% ifversion project-visibility-policy %}
28+
29+
Some policies apply to both {% data variables.product.prodname_projects_v2 %}, the new projects experience, and {% data variables.product.prodname_projects_v1 %}, the previous experience, while some apply only to {% data variables.product.prodname_projects_v1 %}. For more information about each experience, see "[About {% data variables.product.prodname_projects_v2 %}](/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)" and "[About {% data variables.product.prodname_projects_v1 %}](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)."
30+
{% else %}For more information, see "[About project boards](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)."{% endif %}
31+
32+
## Enforcing a policy for organization-wide projects
33+
34+
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.
35+
36+
{% data reusables.enterprise-accounts.access-enterprise %}
37+
{% data reusables.enterprise-accounts.policies-tab %}
38+
{% data reusables.enterprise-accounts.projects-tab %}
39+
4. Under "Organization projects", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
40+
5. Under "Organization projects", use the drop-down menu and choose a policy.
41+
![Drop-down menu with organization project board policy options](/assets/images/help/business-accounts/organization-projects-policy-drop-down.png)
42+
43+
{% ifversion project-visibility-policy %}
44+
## Enforcing a policy for visibility changes to projects
45+
46+
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.
47+
48+
{% data reusables.enterprise-accounts.access-enterprise %}
49+
{% data reusables.enterprise-accounts.policies-tab %}
50+
{% data reusables.enterprise-accounts.projects-tab %}
51+
1. Under "Project visibility change permission", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
52+
1. Select the dropdown menu, then click a policy.
53+
54+
![Screenshot of the dropdown menu for configuring the "Project visibility change permission" policy](/assets/images/help/business-accounts/project-visibility-change-drop-down.png)
55+
{% endif %}
56+
57+
{% ifversion projects-v1 %}
58+
## Enforcing policies for {% data variables.product.prodname_projects_v1 %}
59+
60+
Some policies apply only to {% data variables.product.prodname_projects_v1 %}.
61+
62+
### Enforcing a policy for repository projects
63+
64+
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.
65+
66+
{% data reusables.enterprise-accounts.access-enterprise %}
67+
{% data reusables.enterprise-accounts.policies-tab %}
68+
{% data reusables.enterprise-accounts.projects-tab %}
69+
4. Under "Repository projects", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
70+
5. Under "Repository projects", use the drop-down menu and choose a policy.
71+
72+
![Drop-down menu with repository project board policy options](/assets/images/help/business-accounts/repository-projects-policy-drop-down.png)
73+
{% endif %}

content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

content/admin/policies/enforcing-policies-for-your-enterprise/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ children:
1616
- /about-enterprise-policies
1717
- /enforcing-repository-management-policies-in-your-enterprise
1818
- /enforcing-team-policies-in-your-enterprise
19-
- /enforcing-project-board-policies-in-your-enterprise
19+
- /enforcing-policies-for-projects-in-your-enterprise
2020
- /restricting-email-notifications-for-your-enterprise
2121
- /enforcing-policies-for-security-settings-in-your-enterprise
2222
- /enforcing-policies-for-dependency-insights-in-your-enterprise

content/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Only the project visibility is affected; to view an item on the project, someone
2222

2323
![Project with hidden item](/assets/images/help/projects/hidden-items.png)
2424

25-
Project admins and organization owners can control project visibility. Organization owners can restrict the ability to change project visibility to just organization owners.
25+
Project admins and organization owners can control project visibility. Organization owners{% ifversion project-visibility-policy %} and enterprise owners{% endif %} can restrict the ability to change project visibility to just organization owners.
2626

2727
In public and private projects, insights are only visible to users with write permissions for the project.
2828

content/organizations/managing-organization-settings/allowing-project-visibility-changes-in-your-organization.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ allowTitleToDifferFromFilename: true
1111
permissions: Organization owners can allow {% data variables.projects.project_v2_and_v1 %} visibility changes for an organization.
1212
---
1313

14+
## About visibility changes for projects
15+
1416
You can restrict who has the ability to change the visibility of {% data variables.projects.projects_v2_and_v1 %} in your organization, such as restricting members from changing {% data variables.projects.projects_v2_and_v1 %} from private to public.
1517

1618
You can limit the ability to change {% data variables.projects.project_v2_and_v1 %} visibility to just organization owners, or you can allow anyone granted admin permissions to change the visibility.
1719

20+
{% ifversion project-visibility-policy %}
21+
This option may not be available to you if an enterprise owner restricts visibility changes for {% data variables.projects.projects_v2_and_v1 %} at the enterprise level. For more information, see "[Enforcing policies for projects in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise)."
22+
{% endif %}
23+
24+
## Allowing members to change project visibilities
25+
1826
{% data reusables.profile.access_org %}
1927
{% data reusables.profile.org_settings %}
2028
1. In the "Code, planning, and automation" section of the sidebar, click **{% octicon "table" aria-label="The table icon" %} Projects**.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Issue 7923
2+
# Project visibility change permission policy
3+
versions:
4+
ghec: '*'

tests/fixtures/versionless-redirects.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
- /github/setting-up-and-managing-your-enterprise/enforcing-team-policies-in-your-enterprise-account
9191
- /github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account/enforcing-team-policies-in-your-enterprise-account
9292

93-
/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise
93+
/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-projects-in-your-enterprise
9494
- /articles/enforcing-project-board-settings-for-organizations-in-your-business-account
9595
- /articles/enforcing-project-board-policies-for-organizations-in-your-enterprise-account
9696
- /articles/enforcing-project-board-policies-in-your-enterprise-account

0 commit comments

Comments
 (0)