Skip to content

Commit 598895a

Browse files
authored
Hack week 2025: remove unneeded FBV instances (11) - Enterprise admin (#53957)
1 parent ec4266b commit 598895a

File tree

9 files changed

+12
-38
lines changed

9 files changed

+12
-38
lines changed

content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/viewing-peoples-roles-in-an-organization.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ shortTitle: View people in an organization
3030

3131
If your organization uses {% data variables.product.prodname_ghe_cloud %}, you can also view the enterprise owners who manage billing settings and policies for all your enterprise's organizations. For more information, see [the {% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/viewing-peoples-roles-in-an-organization#view-enterprise-owners-and-their-roles-in-an-organization).
3232

33-
{% endif %}
34-
35-
{% ifversion enterprise-owners-visible-for-org-members %}
33+
{% else %}
3634

3735
## View enterprise owners and their roles in an organization
3836

content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ Across all organizations owned by your enterprise, you can allow members to crea
8989

9090
If you allow members to create repositories in your organizations, you can choose which types of repositories (public, private, and internal) that members can create.
9191

92-
{% ifversion enterprise-namespace-repo-setting %}
9392
{% ifversion ghec %}If your enterprise uses {% data variables.product.prodname_emus %}, you{% else %}You{% endif %} can also prevent users from creating repositories owned by their user accounts. {% ifversion emu-owned-repos %}If you allow users to create repositories owned by their user accounts, you can view and temporarily access those repositories at any time. For more information, see [AUTOTITLE](/admin/user-management/managing-repositories-in-your-enterprise/viewing-user-owned-repositories-in-your-enterprise) and [AUTOTITLE](/admin/user-management/managing-repositories-in-your-enterprise/accessing-user-owned-repositories-in-your-enterprise).{% endif %}
94-
{% endif %}
9593

9694
{% data reusables.repositories.internal-repo-default %} For more information about internal repositories, see [AUTOTITLE](/repositories/creating-and-managing-repositories/creating-a-new-repository).
9795

@@ -103,9 +101,7 @@ If you allow members to create repositories in your organizations, you can choos
103101
1. Under "Repository creation", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
104102
{% data reusables.enterprise-accounts.repo-creation-policy %}
105103
{% data reusables.enterprise-accounts.repo-creation-types %}
106-
{%- ifversion enterprise-namespace-repo-setting %}
107104
1. Optionally, {% ifversion ghec %}if your enterprise uses {% data variables.product.prodname_emus %} and you want {% endif %}to prevent enterprise members from creating repositories owned by their user accounts, select **Block the creation of user namespace repositories**.
108-
{%- endif %}
109105

110106
## Enforcing a policy for forking private or internal repositories
111107

@@ -115,13 +111,9 @@ Across all organizations owned by your enterprise, you can allow people with acc
115111
People with admin permissions can set a more granular forking policy. For more information, see [AUTOTITLE](/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization).
116112
{% endif %}
117113

118-
{% ifversion enterprise-namespace-repo-setting %}
119-
120114
> [!NOTE]
121115
> If {% ifversion ghec %}your enterprise uses {% data variables.product.prodname_emus %} and {% endif %}your "Repository creation" policy prevents enterprise members from creating repositories owned by their user accounts, members will not be allowed to fork a repository in their user accounts, regardless of your "Repository forking" policy.
122116
123-
{% endif %}
124-
125117
{% data reusables.enterprise-accounts.access-enterprise %}
126118
{% data reusables.enterprise-accounts.policies-tab %}
127119
{% data reusables.enterprise-accounts.repositories-tab %}

content/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/managing-your-role-in-an-organization-owned-by-your-enterprise.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ permissions: Enterprise owners can manage their role in an organization owned by
55
redirect_from:
66
- /admin/user-management/managing-organizations-in-your-enterprise/managing-your-role-in-an-organization-owned-by-your-enterprise
77
versions:
8-
feature: enterprise-owner-join-org
8+
ghec: '*'
9+
ghes: '*'
910
type: how_to
1011
topics:
1112
- Administrator

content/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ If you do use {% data variables.product.prodname_emus %}, enterprise owners and
3939

4040
{% ifversion ghec %}After you invite someone to join the enterprise account, they must accept the emailed invitation before they can access the enterprise account. Pending invitations will expire after 7 days.{% endif %}
4141

42-
{% ifversion enterprise-membership-view-improvements %}
4342
You can see all pending invitations to become an administrator of your enterprise account. For more information, see [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/viewing-people-in-your-enterprise#viewing-pending-invitations).
44-
{% endif %}
4543

4644
{% data reusables.enterprise-accounts.access-enterprise %}
4745
{% data reusables.enterprise-accounts.people-tab %}

content/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/viewing-people-in-your-enterprise.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can also export membership information for your enterprise. For more informa
4141

4242
## Viewing enterprise administrators
4343

44-
You can view all the current enterprise owners{% ifversion ghec %} and billing managers{% endif %} for your enterprise.{% ifversion enterprise-membership-view-improvements %} You can see useful information about each administrator{% ifversion ghec %} and filter the list by role{% endif %}.{% endif %} You can find a specific person by searching for their username or display name.
44+
You can view all the current enterprise owners{% ifversion ghec %} and billing managers{% endif %} for your enterprise. You can see useful information about each administrator{% ifversion ghec %} and filter the list by role{% endif %}. You can find a specific person by searching for their username or display name.
4545

4646
{% ifversion ghes %}
4747
Enterprise owners whose accounts are suspended are included in the list of enterprise administrators, and are identified as suspended. You should consider demoting any suspended owners you see. For more information, see [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/promoting-or-demoting-a-site-administrator#demoting-a-site-administrator-from-the-enterprise-settings).
@@ -53,9 +53,9 @@ You can also remove an administrator. For more information. see [AUTOTITLE](/adm
5353
{% data reusables.enterprise-accounts.people-tab %}
5454
{% data reusables.enterprise-accounts.administrators-tab %}
5555

56-
## Viewing members {% ifversion enterprise-membership-view-improvements %}{% else %}and outside collaborators{% endif %}
56+
## Viewing members
5757

58-
You can see all the current members {% ifversion enterprise-membership-view-improvements %}{% else %}or outside collaborators{% endif %} for your enterprise. You can see useful information about each account and filter the list in useful ways, such as by role. In addition to the list of members, you will see an overview of the number of members in your enterprise, grouped by role{% ifversion ghec %}, type of license, and type of deployment{% endif %}.
58+
You can see all the current members for your enterprise. You can see useful information about each account and filter the list in useful ways, such as by role. In addition to the list of members, you will see an overview of the number of members in your enterprise, grouped by role{% ifversion ghec %}, type of license, and type of deployment{% endif %}.
5959

6060
You can find a specific person by searching for the person's username or display name. To view more information about the person's access to your enterprise, such as the organizations the person belongs to, you can click the person's name.
6161

@@ -64,14 +64,10 @@ You can also remove any enterprise member from all organizations owned by the en
6464
{% endif %}
6565

6666
{% data reusables.enterprise-accounts.access-enterprise %}
67-
{% data reusables.enterprise-accounts.people-tab %}{% ifversion enterprise-membership-view-improvements %}
68-
{% else %}
69-
1. Optionally, to view a list of outside collaborators rather than the list of members, under "Members", click **Outside collaborators**.{% endif %}
67+
{% data reusables.enterprise-accounts.people-tab %}
7068
{% ifversion enterprise-member-csv %}
7169
1. Optionally, to export the list of members as a CSV report, click **CSV report**. For more information about the information included in the report, see [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/exporting-membership-information-for-your-enterprise).{% endif %}
7270

73-
{% ifversion enterprise-members-breakdown %}
74-
7571
### About the membership overview
7672

7773
On the "Members" page, you will find an overview of the number of members in your enterprise, grouped by role{% ifversion ghec %}, type of license consumed, and the type of deployment the member is on. The following sections explain how the numbers in this overview are calculated.
@@ -105,8 +101,6 @@ The "Deployment" column groups users by the type of deployment they are using. F
105101
"Cloud members" are a member or owner of any organization in your enterprise on {% data variables.product.prodname_ghe_cloud %}. "Server members" have an account on a {% data variables.product.prodname_ghe_server %} instance owned by your enterprise. "Members on cloud and server" are users who match both these criteria.
106102
{% endif %}
107103

108-
{% endif %}
109-
110104
{% ifversion ghec %}
111105

112106
## Viewing members' email addresses
@@ -132,8 +126,6 @@ If you use {% data variables.product.prodname_emus %}, verify a domain, or confi
132126

133127
{% endif %}
134128

135-
{% ifversion enterprise-membership-view-improvements %}
136-
137129
## Viewing outside collaborators
138130

139131
You can see all the current outside collaborators for your enterprise. You can see useful information about each collaborator and filter the list in useful ways, such as by organization. You can find a specific collaborator by searching for their username or display name.
@@ -143,7 +135,6 @@ You can view more information about the person's access to your enterprise, such
143135
{% data reusables.enterprise-accounts.access-enterprise %}
144136
{% data reusables.enterprise-accounts.people-tab %}
145137
1. Under "People", click **Outside collaborators**.
146-
{% endif %}
147138

148139
{% ifversion ghec %}
149140

@@ -183,8 +174,6 @@ If your enterprise uses {% ifversion ghec %}{% data variables.product.prodname_e
183174

184175
You can view a list of all dormant users {% ifversion ghes %} who have not been suspended and {% endif %}who are not site administrators. {% data reusables.enterprise-accounts.dormant-user-activity-threshold %} For more information, see [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/managing-dormant-users).
185176

186-
{% ifversion filter-by-enterprise-member-type %}
187-
188177
## Filtering by member type{% ifversion ghec %} in an {% data variables.enterprise.prodname_emu_enterprise %}{% endif %}
189178

190179
{% ifversion ghec %}If your enterprise uses {% data variables.product.prodname_emus %}, you{% elsif ghes %}You{% endif %} can filter the member list of an organization by type to determine if memberships are managed through an IdP or managed directly. Memberships managed through an IdP were added through an IdP group, and the IdP group was connected to a team within the organization. Memberships managed directly were added to the organization manually. The way a membership is managed in an organization determines how it must be removed. You can use this filter to determine how members were added to an organization, so you know how to remove them.{% ifversion ghec %} For more information, see [AUTOTITLE](/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users#about-organization-membership-management).{% endif %}
@@ -198,8 +187,6 @@ You can view a list of all dormant users {% ifversion ghes %} who have not been
198187
1. Above the list of members, click **Type**, then select the type of members you want to view.
199188
![Screenshot of the list of members. A dropdown menu labeled "Type" is outlined and expanded.](/assets/images/help/enterprises/filter-by-member-type.png)
200189

201-
{% endif %}
202-
203190
{% ifversion scim-for-ghes-public-beta %}
204191

205192
## Filtering by account type (SAML and SCIM)

content/get-started/exploring-projects-on-github/following-organizations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Following organizations
33
intro: 'You can follow organizations on {% data variables.product.github %} to receive notifications about their activity.'
44
versions:
5-
feature: for-you-feed
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
topics:
79
- Profile
810
---

content/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Organization owners have full administrative access to the organization. {% data
2727
> [!NOTE]
2828
> As an organization owner, you can change the role of other organization members and owners. You can't change your own role.
2929
30-
{% ifversion enterprise-owner-join-org %}
30+
{% ifversion ghec or ghes %}
3131
If your organization is owned by an enterprise account, any enterprise owner can make themselves an owner of your organization. For more information, see [AUTOTITLE](/admin/user-management/managing-organizations-in-your-enterprise/managing-your-role-in-an-organization-owned-by-your-enterprise).
3232
{% endif %}
3333

content/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can assign people to a variety of organization-level roles to control your m
4444
For more granular control of access to your organization's settings, you can create a custom organization role. For more information, see [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).
4545
{% endif %}
4646

47-
{% ifversion enterprise-owner-join-org %}
47+
{% ifversion ghec or ghes %}
4848
If your organization is owned by an enterprise account, enterprise owners can choose to join your organization with any role. For more information, see [AUTOTITLE](/admin/user-management/managing-organizations-in-your-enterprise/managing-your-role-in-an-organization-owned-by-your-enterprise).
4949
{% endif %}
5050

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
{% ifversion fixed-width-font-gfm-fields %}
2-
31
If you are frequently editing code snippets and tables, you may benefit from enabling a fixed-width font in all comment fields on {% data variables.product.product_name %}. For more information, see [AUTOTITLE](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github#enabling-fixed-width-fonts-in-the-editor).
4-
5-
{% endif %}

0 commit comments

Comments
 (0)