Skip to content

Commit 01801f8

Browse files
authored
Merge pull request #13796 from github/repo-sync
repo sync
2 parents e3e9d4c + 2bfbab2 commit 01801f8

File tree

211 files changed

+2428
-1589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+2428
-1589
lines changed

components/page-header/LanguagePicker.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ export const LanguagePicker = ({ variant }: Props) => {
1414
const langs = Object.values(languages)
1515
const selectedLang = languages[locale]
1616

17+
// The `router.asPath` will always be without a hash in SSR
18+
// So to avoid a hydraration failure on the client, we have to
19+
// normalize it to be without the hash. That way the path is treated
20+
// in a "denormalized" way.
21+
const routerPath = router.asPath.split('#')[0]
22+
1723
return (
1824
<Picker
1925
variant={variant}
@@ -25,7 +31,7 @@ export const LanguagePicker = ({ variant }: Props) => {
2531
text: lang.nativeName || lang.name,
2632
selected: lang === selectedLang,
2733
item: (
28-
<Link href={router.asPath} locale={lang.code}>
34+
<Link href={routerPath} locale={lang.code}>
2935
{lang.nativeName ? (
3036
<>
3137
<span lang={lang.code}>{lang.nativeName}</span> (

middleware/render-page.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ export default async function renderPage(req, res, next) {
8888
const { page } = context
8989
const path = req.pagePath || req.path
9090

91-
if (path.startsWith('/storybook')) {
92-
return nextHandleRequest(req, res)
93-
}
94-
9591
// render a 404 page
9692
if (!page) {
9793
if (process.env.NODE_ENV !== 'test' && context.redirectNotFound) {

pages/storybook.tsx

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

translations/ja-JP/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ You may want to use a dark theme to reduce power consumption on certain devices,
2929
{% endif %}
3030

3131
{% data reusables.user_settings.access_settings %}
32-
1. In the user settings sidebar, click **Appearance**.
33-
34-
!["Appearance" tab in user settings sidebar](/assets/images/help/settings/appearance-tab.png)
32+
{% data reusables.user_settings.appearance-settings %}
3533

3634
1. Under "Theme mode", select the drop-down menu, then click a theme preference.
3735

translations/ja-JP/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The repository owner has full control of the repository. In addition to the acti
3737
| Limit interactions with the repository | "[Limiting interactions in your repository](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository)" |{% endif %}{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
3838
| Rename a branch, including the default branch | "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)" |{% endif %}
3939
| Merge a pull request on a protected branch, even if there are no approving reviews | "[About protected branches](/github/administering-a-repository/about-protected-branches)" |
40-
| Delete the repository | "[Deleting a repository](/github/administering-a-repository/deleting-a-repository)" |
40+
| Delete the repository | "[Deleting a repository](/repositories/creating-and-managing-repositories/deleting-a-repository)" |
4141
| Manage the repository's topics | "[Classifying your repository with topics](/github/administering-a-repository/classifying-your-repository-with-topics)" |{% ifversion fpt or ghec %}
4242
| Manage security and analysis settings for the repository | "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)" |{% endif %}{% ifversion fpt or ghec %}
43-
| Enable the dependency graph for a private repository | "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)" |{% endif %}{% ifversion fpt or ghes > 3.0 or ghec %}
44-
| Delete and restore packages | "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)" |{% endif %}{% ifversion ghes = 3.0 or ghae %}
43+
| Enable the dependency graph for a private repository | "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)" |{% endif %}{% ifversion fpt or ghes > 3.1 or ghec or ghae %}
44+
| Delete and restore packages | "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)" |{% endif %}{% ifversion ghes < 3.1 %}
4545
| Delete packages | "[Deleting packages](/packages/learn-github-packages/deleting-a-package)" |{% endif %}
4646
| Customize the repository's social media preview | "[Customizing your repository's social media preview](/github/administering-a-repository/customizing-your-repositorys-social-media-preview)" |
4747
| Create a template from the repository | "[Creating a template repository](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)" |{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}

translations/ja-JP/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/viewing-peoples-roles-in-an-organization.md

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Organization の人のロールを表示する
3-
intro: 'Organization 内の人のリストを表示し、それらのロールでフィルタリングすることができます。 For more information on organization roles, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)."'
2+
title: Viewing people's roles in an organization
3+
intro: 'You can view a list of the people in your organization and filter by their role. For more information on organization roles, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)."'
4+
permissions: "Organization members can see people's roles in the organization."
45
redirect_from:
56
- /articles/viewing-people-s-roles-in-an-organization
67
- /articles/viewing-peoples-roles-in-an-organization
@@ -16,13 +17,50 @@ topics:
1617
shortTitle: View people in an organization
1718
---
1819

20+
## View organization roles
21+
22+
{% data reusables.profile.access_org %}
23+
{% data reusables.user_settings.access_org %}
24+
{% data reusables.organizations.people %}
25+
4. You will see a list of the people in your organization. To filter the list by role, click **Role** and select the role you're searching for.
26+
![click-role](/assets/images/help/organizations/view-list-of-people-in-org-by-role.png)
27+
28+
{% ifversion fpt %}
29+
30+
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-github-user-account/managing-your-membership-in-organizations/viewing-peoples-roles-in-an-organization#view-enterprise-owners-and-their-roles-in-an-organization).
31+
32+
{% endif %}
33+
34+
{% if enterprise-owners-visible-for-org-members %}
35+
## View enterprise owners and their roles in an organization
36+
37+
If your organization is managed by an enterprise account, then you can view the enterprise owners who manage billing settings and policies for all of your enterprise's organizations. For more information about enterprise accounts, see "[Types of {% data variables.product.prodname_dotcom %} accounts](/get-started/learning-about-github/types-of-github-accounts)."
38+
39+
You can also view whether an enterprise owner has a specific role in the organization. Enterprise owners can also be an organization member, any other organization role, or be unaffililated with the organization.
40+
1941
{% note %}
2042

21-
**メモ:** Organization における人のロールを表示するには、Organization のメンバーでなければなりません。
43+
**Note:** If you're an organization owner, you can also invite an enterprise owner to have a role in the organization. If an enterprise owner accepts the invitation, a seat or license in the organization is used from the available licenses for your enterprise. For more information about how licensing works, see "[Roles in an enterprise](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise#enterprise-owner)."
2244

2345
{% endnote %}
2446

47+
| **Enterprise role** | **Organization role** | **Organization access or impact** |
48+
|----|----|----|----|
49+
| Enterprise owner | Unaffililated or no official organization role | Cannot access organization content or repositories but manages enterprise settings and policies that impact your organization. |
50+
| Enterprise owner | Organization owner | Able to configure organization settings and manage access to the organization's resources through teams, etc. |
51+
| Enterprise owner | Organization member | Able to access organization resources and content, such as repositories, without access to the organization's settings. |
52+
53+
To review all roles in an organization, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)." {% ifversion ghec %} An organization member can also have a custom role for a specific repository. For more information, see "[Managing custom repository roles for an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)."{% endif %}
54+
55+
For more information about the enterprise owner role, see "[Roles in an enterprise](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise#enterprise-owner)."
56+
2557
{% data reusables.profile.access_org %}
2658
{% data reusables.user_settings.access_org %}
2759
{% data reusables.organizations.people %}
28-
4. Organization 内の人のリストが表示されます。 ロールでリストをフィルタリングするには、[**Role**] をクリックします。 ![click-role](/assets/images/help/organizations/view-list-of-people-in-org-by-role.png)
60+
4. In the left sidebar, under "Enterprise permissions", click **Enterprise owners**.
61+
![Screenshot of "Enterprise owners" option in sidebar menu](/assets/images/help/organizations/enterprise-owners-sidebar.png)
62+
5. View the list of the enterprise owners for your enterprise. If the enterprise owner is also a member of your organization, you can see their role in the organization.
63+
64+
![Screenshot of list of Enterprise owners and their role in the organization](/assets/images/help/organizations/enterprise-owners-list-on-org-page.png)
65+
66+
{% endif %}

0 commit comments

Comments
 (0)